Skip to content

Commit 3b6f85b

Browse files
committed
Cirrus CI: Try to work around non-default libcurl dependency for ldc-profdata on Ubuntu 25.04
1 parent 7b71e15 commit 3b6f85b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.cirrus.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,13 @@ task:
198198
CI_ARCH: x86_64
199199
CI_OS: linux
200200
EXTRA_APT_PACKAGES: "gdmd llvm-dev libclang-common-20-dev lld"
201-
EXTRA_CMAKE_FLAGS: "-DBUILD_SHARED_LIBS=ON -DBUILD_LTO_LIBS=ON -DD_COMPILER=gdmd -DLDC_LINK_MANUALLY=ON"
201+
# need `-DCMAKE_EXE_LINKER_FLAGS=-lcurl` to work around libcurl dependency for ldc-profdata (distro LLVM apparently built with non-default LLVM_ENABLE_CURL=ON)
202+
EXTRA_CMAKE_FLAGS: >-
203+
-DBUILD_SHARED_LIBS=ON
204+
-DBUILD_LTO_LIBS=ON
205+
-DD_COMPILER=gdmd
206+
-DLDC_LINK_MANUALLY=ON
207+
-DCMAKE_EXE_LINKER_FLAGS=-lcurl
202208
PARALLELISM: 8
203209
# for gdmd:
204210
LANG: C.UTF-8

0 commit comments

Comments
 (0)