chore: CI: fix Linux release jobs (#11424)
This commit is contained in:
parent
a0d0abcdc5
commit
3f05179fdb
1 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ echo -n " -DLEAN_STANDALONE=ON -DCADICAL_USE_CUSTOM_CXX=ON"
|
||||||
echo -n " -DCMAKE_CXX_COMPILER=$PWD/llvm-host/bin/clang++ -DLEAN_CXX_STDLIB='-Wl,-Bstatic -lc++ -lc++abi -Wl,-Bdynamic'"
|
echo -n " -DCMAKE_CXX_COMPILER=$PWD/llvm-host/bin/clang++ -DLEAN_CXX_STDLIB='-Wl,-Bstatic -lc++ -lc++abi -Wl,-Bdynamic'"
|
||||||
# these should also be used for cadical, so do not use `LEAN_EXTRA_CXX_FLAGS` here
|
# these should also be used for cadical, so do not use `LEAN_EXTRA_CXX_FLAGS` here
|
||||||
echo -n " -DCMAKE_CXX_FLAGS='--sysroot $PWD/llvm -idirafter $GLIBC_DEV/include ${EXTRA_FLAGS:-}'"
|
echo -n " -DCMAKE_CXX_FLAGS='--sysroot $PWD/llvm -idirafter $GLIBC_DEV/include ${EXTRA_FLAGS:-}'"
|
||||||
|
# the above does not include linker flags which will be added below based on context, so skip the
|
||||||
|
# generic check by cmake
|
||||||
|
echo -n " -DCMAKE_C_COMPILER_WORKS=1 -DCMAKE_CXX_COMPILER_WORKS=1"
|
||||||
# use target compiler directly when not cross-compiling
|
# use target compiler directly when not cross-compiling
|
||||||
if [[ -L llvm-host ]]; then
|
if [[ -L llvm-host ]]; then
|
||||||
echo -n " -DCMAKE_C_COMPILER=$PWD/stage1/bin/clang"
|
echo -n " -DCMAKE_C_COMPILER=$PWD/stage1/bin/clang"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue