tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1535Shell 201Rust 109Markdown 993726 Definitions

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

223e614e9504c19ed72376fbc41eebac0a43378e · by sergio · (3 months ago) · parent c500470db · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +3 −6

diff --git a/recipes/incoming-clib/zstd.toml b/recipes/incoming-clib/zstd.toml
index 4d3c3d94..75f29d3e 100644
--- a/recipes/incoming-clib/zstd.toml
+++ b/recipes/incoming-clib/zstd.toml
@@ -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"