feat: sirmem v0.1.0 knowledge-graph memory CLI
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# C compiler/linker wrapper so Nim can use `zig cc` for cross-compiling.
|
||||
# Needs ZIG_TARGET (e.g. aarch64-linux-musl). Filters flags zig cc rejects.
|
||||
args=()
|
||||
for a in "$@"; do
|
||||
case "$a" in
|
||||
-Wl,--no-gc-sections|-Wl,-rpath*|-fpie|-pie) ;;
|
||||
-ldl) case "$ZIG_TARGET" in *windows*) ;; *) args+=("$a") ;; esac ;;
|
||||
*) args+=("$a") ;;
|
||||
esac
|
||||
done
|
||||
exec zig cc -target "${ZIG_TARGET:?ZIG_TARGET not set}" "${args[@]}"
|
||||
Reference in New Issue
Block a user