phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
@ -7,7 +7,7 @@ fi
|
||||
|
||||
usage() {
|
||||
cat << USAGE
|
||||
Usage: tools/build_llvm.sh <input.nyash> [-o <output>]
|
||||
Usage: tools/build_llvm.sh <input.hako> [-o <output>]
|
||||
|
||||
Compiles a Nyash program with the LLVM backend to an object (.o),
|
||||
links it with the NyRT static runtime, and produces a native executable.
|
||||
@ -61,7 +61,7 @@ echo "[2/4] Emitting object (.o) via LLVM backend ..."
|
||||
# Default object output path under target/aot_objects
|
||||
mkdir -p "$PWD/target/aot_objects"
|
||||
stem=$(basename "$INPUT")
|
||||
stem=${stem%.nyash}
|
||||
stem=${stem%.hako}
|
||||
OBJ="${NYASH_LLVM_OBJ_OUT:-$PWD/target/aot_objects/${stem}.o}"
|
||||
if [[ "${NYASH_LLVM_SKIP_EMIT:-0}" != "1" ]]; then
|
||||
rm -f "$OBJ"
|
||||
|
||||
Reference in New Issue
Block a user