mirror of
https://github.com/google/cpu_features.git
synced 2025-10-19 08:10:51 +02:00
Build with zig (#431)
* build with Zig Add the necessary files to build a static library with Zig. The build also includes producing execuable that can be cross-compiled Signed-off-by: inge4pres <fgualazzi@gmail.com> * ci: add zig build workflow Signed-off-by: inge4pres <fgualazzi@gmail.com> * build(zig): aarch64 macros on Linux * CI: split zig build by platform Signed-off-by: inge4pres <fgualazzi@gmail.com> * CI: release script updates version in build.zig.zon Signed-off-by: inge4pres <fgualazzi@gmail.com> --------- Signed-off-by: inge4pres <fgualazzi@gmail.com>
This commit is contained in:

committed by
GitHub

parent
d8680367ef
commit
2182eb53ec
12
build.zig.zon
Normal file
12
build.zig.zon
Normal file
@@ -0,0 +1,12 @@
|
||||
.{
|
||||
.name = .cpu_features,
|
||||
.version = "0.0.1",
|
||||
.minimum_zig_version = "0.15.1",
|
||||
.paths = .{
|
||||
"build.zig",
|
||||
"build.zig.zon",
|
||||
"src",
|
||||
"include",
|
||||
},
|
||||
.fingerprint = 0xbd52e965d3c20004,
|
||||
}
|
Reference in New Issue
Block a user