Skip to content
Merged
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
9 changes: 7 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,17 @@ task:
-DD_COMPILER_FLAGS="-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto"
-DEXTRA_CXXFLAGS=-flto=full
PARALLELISM: 4
CC: clang
CC: clang15
CXX: clang++15
install_prerequisites_script: |
cd $CIRRUS_WORKING_DIR/..
sysctl -n hw.ncpu
pkg install -y git cmake ninja gmake llvm bash gtar 7-zip ldc
pkg install -y git cmake ninja gmake llvm15 bash gtar 7-zip ldc
python3 --version
python3 -m ensurepip
# set up default llvm-config
ls -l /usr/local/bin/llvm-config*
ln -sf llvm-config15 /usr/local/bin/llvm-config
clone_submodules_early_script: |
cd $CIRRUS_WORKING_DIR
git submodule update --init --depth $CIRRUS_CLONE_DEPTH
Expand All @@ -239,6 +243,7 @@ task:
-DCMAKE_BUILD_TYPE=Release \
-DD_COMPILER=ldmd2 \
-DBUILD_SHARED_LIBS=OFF \
-DLDC_DYNAMIC_COMPILE=OFF \
-DBUILD_LTO_LIBS=ON
ninja -j$PARALLELISM
bin/ldc2 -version
Expand Down