File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,12 @@ jobs:
127127 [ -d build ] || mkdir build
128128 cd build
129129 # arguments passed to `cmake`
130- # this also enables githash embedding into stage 1 library
131- OPTIONS=(-DCHECK_OLEAN_VERSION=ON)
132- OPTIONS+=(-DLEAN_EXTRA_MAKE_OPTS=-DwarningAsError=true)
130+ OPTIONS=(-DLEAN_EXTRA_MAKE_OPTS=-DwarningAsError=true)
131+ if [[ -n '${{ matrix.release }}' ]]; then
132+ # this also enables githash embedding into stage 1 library, which prohibits reusing
133+ # `.olean`s across commits, so we don't do it in the fast non-release CI
134+ OPTIONS+=(-DCHECK_OLEAN_VERSION=ON)
135+ fi
133136 if [[ -n '${{ matrix.cross_target }}' ]]; then
134137 # used by `prepare-llvm`
135138 export EXTRA_FLAGS=--target=${{ matrix.cross_target }}
You can’t perform that action at this time.
0 commit comments