Skip to content

Commit

Permalink
Unbreak CI.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vext01 committed Jul 25, 2024
1 parent 5381c5a commit 8c1436e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8c1436e

Please sign in to comment.