fix test/precompiled.bqn

This commit is contained in:
dzaima 2022-11-18 00:16:34 +02:00
parent fb06da343e
commit 966b78693b
3 changed files with 6 additions and 5 deletions

7
.gitignore vendored
View File

@ -11,10 +11,10 @@ libcbqn.so
/build/singeliLocal /build/singeliLocal
/build/replxxLocal /build/replxxLocal
/build/bytecodeLocal /build/bytecodeLocal
/build/interp
/src/singeli/gen /src/singeli/gen
# files generated by CBQN or other utilities # files CBQN may create
perf.*
/asm_* /asm_*
CBQNHeapDump CBQNHeapDump
@ -25,8 +25,9 @@ CBQNHeapDump
/test/ffi/sharedTest /test/ffi/sharedTest
/test/ffi/lib.so /test/ffi/lib.so
# local files # other
/local/ /local/
perf.*
# clangd # clangd
compile_commands.json compile_commands.json

View File

@ -469,7 +469,7 @@ void load_init() { // very last init function
#ifdef PRECOMP #ifdef PRECOMP
Block* c = compile( Block* c = compile(
#include PRECOMPILED_FILE(interp) #include "../build/interp"
, bi_N, bi_N, bi_N, bi_N, NULL , bi_N, bi_N, bi_N, bi_N, NULL
); );
B interp = evalFunBlock(c, 0); ptr_dec(c); B interp = evalFunBlock(c, 0); ptr_dec(c);

View File

@ -13,7 +13,7 @@ tests ← •FLines •wdpath•file.At path∾"/test/cases/prim.bqn"
('#' · "#")@{ ('#' · "#")@{
('%'){𝕤 ('%'){𝕤
•Out 𝕩 •Out 𝕩
"../src/gen/interp" •FChars 1,path,𝕩 •Import "../cc.bqn" "../build/interp" •FChars 1,path,𝕩 •Import "../cc.bqn"
# make ← "make"‿"singeli=1"‿"f=-DPRECOMP -march=native"‿"c" # make ← "make"‿"singeli=1"‿"f=-DPRECOMP -march=native"‿"c"
# make ← "make"‿"f=-DPRECOMP -m32"‿"lf=-m32"‿"c" # make ← "make"‿"f=-DPRECOMP -m32"‿"lf=-m32"‿"c"
make "make""f=-DPRECOMP""c" make "make""f=-DPRECOMP""c"