From 8c1436ec55bf6c5efdc218d1992da5f881a91cd6 Mon Sep 17 00:00:00 2001 From: Edd Barrett Date: Thu, 25 Jul 2024 15:42:44 +0100 Subject: [PATCH] Unbreak CI. I was investigating why nightly builds fail. In fact CI is broken for this repo. We have to set YKD_NEW_CODEGEN=1 in two places. Otherwise we either get: ``` No JIT compiler supported on this platform/configuration ``` or an error that there's no IR in the binary. --- .buildbot.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.buildbot.sh b/.buildbot.sh index 18586ae..0bdb844 100644 --- a/.buildbot.sh +++ b/.buildbot.sh @@ -49,7 +49,8 @@ YKB_YKLLVM_BUILD_ARGS="define:CMAKE_C_COMPILER=/usr/bin/clang,define:CMAKE_CXX_C export PATH=`pwd`/bin:${PATH} cd .. -YK_BUILD_TYPE=debug make -j `nproc` +YKD_NEW_CODEGEN=1 YK_BUILD_TYPE=debug make -j `nproc` # Run the test suite -cd tests && YKD_SERIALISE_COMPILATION=1 ../src/lua -e"_U=true" all.lua +cd tests && YKD_NEW_CODEGEN=1 YKD_SERIALISE_COMPILATION=1 \ + ../src/lua -e"_U=true" all.lua