bump for_build binary

hasn't been bumped since •file.RealPath was added, which Singeli currently conditionally uses (and thus won't in older for_build-s); now •file.RealPath will be guaranteed to exist at build-time
This commit is contained in:
dzaima 2023-08-19 17:58:17 +03:00
parent 25c2629842
commit b237f170fb
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
DIR="$(dirname $0)"
PREV_BQN="$DIR/obj2/for_build3"
PREV_BQN="$DIR/obj2/for_build4"
if [ ! -f "$PREV_BQN" ]; then
TMP_BQN="$DIR/obj2/for_build_tmp"
if make -C "$DIR/.." for-build OUTPUT="$TMP_BQN"; then

View File

@ -6,7 +6,7 @@ default: o3
# targets that only use the makefile
for-build: # for running the build system & Singeli
@"${MAKE}" i_t=forbuild i_CC=cc REPLXX=0 i_f="-O2 -DFOR_BUILD" i_FFI=0 i_SHARED=0 i_PIE= i_CC_PIE= i_EXPORT=0 i_OUTPUT_DEF=build/obj2/for_build3 run_incremental_0
@"${MAKE}" i_t=forbuild i_CC=cc REPLXX=0 i_f="-O2 -DFOR_BUILD" i_FFI=0 i_SHARED=0 i_PIE= i_CC_PIE= i_EXPORT=0 i_OUTPUT_DEF=build/obj2/for_build4 run_incremental_0
for-bootstrap: # for bootstrapping bytecode
@"${MAKE}" i_t=for_bootstrap REPLXX=0 i_FFI=0 i_SHARED=0 i_PIE= i_CC_PIE= i_EXPORT=0 i_f='-DNATIVE_COMPILER -DONLY_NATIVE_COMP -DFORMATTER=0 -DNO_RT -DNO_EXPLAIN' run_incremental_0 i_USE_BC_SUBMODULE=0 BYTECODE_DIR=bytecodeNone
o3-makeonly:

View File

@ -31,5 +31,5 @@ build/build f='-DUSE_PERF' c && ./BQN -p 2+2 || exit
build/build f='-DREPL_INTERRUPT=0' c && ./BQN -p 2+2 || exit
build/build f='-DREPL_INTERRUPT=1' c && ./BQN -p 2+2 || exit
build/build FFI=0 c && ./BQN -p 2+2 || exit
build/obj2/for_build3 test/precompiled.bqn "$1" "$PATH" '2+2' || exit
build/obj2/for_build4 test/precompiled.bqn "$1" "$PATH" '2+2' || exit
build/build f='-DNO_RT -DPRECOMP' c && ./BQN || exit