Etapa G: zstd vía Makefile ZSTD_NO_ASM=1 (zig rechaza el .S de huf_decompress)

This commit is contained in:
2026-06-30 05:01:30 -04:00
parent c500470dbe
commit 223e614e95
+3 -6
View File
@@ -1,4 +1,4 @@
# zstd 1.5.7 — compresión (lo usan muchos). cmake static, sin programas.
# zstd 1.5.7 — compresión. Makefile (lib static), ZSTD_NO_ASM=1 (zig no digiere huf_decompress_amd64.S).
name = "zstd"
version = "1.5.7"
[source]
@@ -9,8 +9,5 @@ compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
[build.phases]
configure = "cmake -S build/cmake -B b -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DZSTD_BUILD_SHARED=OFF -DZSTD_BUILD_STATIC=ON -DZSTD_BUILD_PROGRAMS=OFF -DZSTD_BUILD_TESTS=OFF"
compile = "cmake --build b"
install = "DESTDIR=/out cmake --install b"
[deps]
build = ["cmake"]
compile = "make -C lib libzstd.a ZSTD_NO_ASM=1"
install = "make -C lib install-static install-includes install-pc PREFIX=/usr DESTDIR=/out ZSTD_NO_ASM=1"