Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ export PATH=`pwd`/.cargo/bin/:$PATH
git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/ykjit/yk
cd yk
echo "yk commit: $(git show -s --format=%H)"
cat << EOF >> Cargo.toml
[profile.release-with-asserts]
inherits = "release"
debug-assertions = true
overflow-checks = true
EOF

cd ykllvm
ykllvm_hash=$(git rev-parse HEAD)
Expand All @@ -45,11 +51,11 @@ fi
cd ..

YKB_YKLLVM_BUILD_ARGS="define:CMAKE_C_COMPILER=/usr/bin/clang,define:CMAKE_CXX_COMPILER=/usr/bin/clang++" \
cargo build
cargo build --profile release-with-asserts
export PATH=`pwd`/bin:${PATH}
cd ..

YK_BUILD_TYPE=debug make -j `nproc`
YK_BUILD_TYPE=release-with-asserts make -j `nproc`

# Run the bundled test suite.
cd tests
Expand Down