add FFI=0 for presingeli build

This commit is contained in:
dzaima 2022-05-14 12:38:40 +03:00
parent 49060bd5e2
commit af3c6b7857
2 changed files with 2 additions and 3 deletions

View File

@ -197,7 +197,7 @@ preSingeliBin:
git submodule update --init; \
fi
@echo "pre-singeli build:"
@${MAKE} i_singeli=0 singeli=0 force_build_dir=obj/presingeli f= lf= postmsg="singeli sources:" i_t=presingeli i_f='-O1 -DPRE_SINGELI' OUTPUT=obj/presingeli/BQN c
@${MAKE} i_singeli=0 singeli=0 force_build_dir=obj/presingeli f= lf= postmsg="singeli sources:" i_t=presingeli i_f='-O1 -DPRE_SINGELI' FFI=0 OUTPUT=obj/presingeli/BQN c
build_singeli: ${addprefix src/singeli/gen/, cmp.c dyarith.c copy.c equal.c scan.c slash.c}

View File

@ -82,8 +82,7 @@ BQNV bqn_makeChar(uint32_t c) { return makeX(m_c32(c)); }
static usz calcIA(size_t rank, size_t* shape) {
if (rank>UR_MAX) thrM("Rank too large");
usz r = 1;
NOUNROLL
for (size_t i = 0; i < rank; i++) if (mulOn(r, shape[i])) thrM("Size too large");
NOUNROLL for (size_t i = 0; i < rank; i++) if (mulOn(r, shape[i])) thrM("Size too large");
return r;
}
static void copyBData(B* r, BQNV* data, usz ia) {