Skip to content

Commit

Permalink
CI: enable assertions (both Julia assertions and LLVM assertions) for…
Browse files Browse the repository at this point in the history
… the `llvmpasses` job (#44278)
  • Loading branch information
DilumAluthge authored Feb 20, 2022
1 parent e454858 commit 94838dc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .buildkite/pipelines/main/misc/llvmpasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ steps:
- "/cache/repos:/cache/repos"
commands: |
echo "--- make release"
make --output-sync -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0
# Enable Julia assertions: FORCE_ASSERTIONS=1
# Enable LLVM assertions: LLVM_ASSERTIONS=1
export MAKE_ASSERT_FLAGS="FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1"
make --output-sync -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0 $${MAKE_ASSERT_FLAGS:?}
echo "--- make src/install-analysis-deps"
make --output-sync -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps
make --output-sync -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps $${MAKE_ASSERT_FLAGS:?}
echo "+++ make test/llvmpasses"
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/llvmpasses
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/llvmpasses $${MAKE_ASSERT_FLAGS:?}
timeout_in_minutes: 60

0 comments on commit 94838dc

Please sign in to comment.