minor updates to build scripts

gccjit-ravi534
Dibyendu Majumdar 6 years ago
parent 2b4f1859c1
commit c4bd811400

@ -31,6 +31,12 @@ elseif (GCC_JIT AND NANO_JIT)
"Both GCC_JIT and NANO_JIT cannot be set to ON at the same time")
endif()
if (ASM_VM)
# For now we switch to static build
# TODO A fix is needed to ensure that in shared library the asm functions are resolved
set(STATIC_BUILD ON)
endif()
if (STATIC_BUILD)
message(STATUS "STATIC library build enabled")
else()

@ -1,3 +1,3 @@
mkdir buildnojit
cd buildnojit
cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/ravi ..
cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release -DCOMPUTED_GOTO=ON -DCMAKE_INSTALL_PREFIX=$HOME/ravi ..

Loading…
Cancel
Save