Skip to content
Open
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: 7 additions & 3 deletions pipelines/main/misc/llvmpasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ steps:
steps:
- label: "llvmpasses"
key: "llvmpasses"
# Wait until `build-x86_64-linux-gnu` is finished, so that we only see build errors once
# Wait until `build-x86_64-linux-gnuassert` is finished, so we don't build julia an extra time
depends_on:
- "build_x86_64-linux-gnu"
- "build_x86_64-linux-gnuassert"
plugins:
- JuliaCI/julia#v1:
# Drop default "registries" directory, so it is not persisted from execution to execution
Expand All @@ -23,7 +23,11 @@ steps:
# 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:?}
# Download pre-built julia, extract into `usr/`
buildkite-agent artifact download --step "build_x86_64-linux-gnuassert" 'julia-*-linuxassert-x86_64.tar.gz' .
mkdir -p ./usr
tar -C ./usr --strip-components=1 -zxf julia-*-linuxassert-x86_64.tar.gz
ln -s ./usr/bin/julia ./julia
echo "--- make src/install-analysis-deps"
make --output-sync -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps $${MAKE_ASSERT_FLAGS:?}
echo "+++ make test/llvmpasses"
Expand Down