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/replxxLocal
/build/bytecodeLocal
/build/interp
/src/singeli/gen
# files generated by CBQN or other utilities
perf.*
# files CBQN may create
/asm_*
CBQNHeapDump
@ -25,8 +25,9 @@ CBQNHeapDump
/test/ffi/sharedTest
/test/ffi/lib.so
# local files
# other
/local/
perf.*
# clangd
compile_commands.json

View File

@ -469,7 +469,7 @@ void load_init() { // very last init function
#ifdef PRECOMP
Block* c = compile(
#include PRECOMPILED_FILE(interp)
#include "../build/interp"
, bi_N, bi_N, bi_N, bi_N, NULL
);
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 𝕩
"../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"‿"f=-DPRECOMP -m32"‿"lf=-m32"‿"c"
make "make""f=-DPRECOMP""c"