Skip to content

Commit dc95e2f

Browse files
authored
Buildkite: Fix regression with LDC v1.41.0 (#492)
Old workarounds getting in the way apparently, faking a cross-compilation scenario, where LDC v1.41 newly doesn't include the druntime/Phobos libraries by default anymore.
1 parent 1e92df0 commit dc95e2f

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

buildkite/build_project.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,19 +273,14 @@ case "$REPO_FULL_NAME" in
273273
cmake .. \
274274
-GNinja \
275275
-DCMAKE_BUILD_TYPE=Debug \
276-
-DD_COMPILER="$DC" \
277-
-DCMAKE_SYSTEM_NAME=Linux # work around gen_gccbuiltins linker issue with llvm-8 pkg
276+
-DD_COMPILER="$DC"
278277
ninja -j2 ldmd2 druntime-ldc-debug phobos2-ldc-debug
279278
cd ..
280279
mkdir build && cd build
281-
# LDC_LINK_MANUALLY=OFF works around an LDC 1.24.0 problem with CMAKE_BUILD_TYPE=Debug
282-
# without *release* host druntime/Phobos.
283280
cmake .. \
284281
-GNinja \
285282
-DCMAKE_BUILD_TYPE=Debug \
286-
-DD_COMPILER="$(pwd)/../bootstrap/bin/ldmd2" \
287-
-DLDC_LINK_MANUALLY=OFF \
288-
-DCMAKE_SYSTEM_NAME=Linux # work around gen_gccbuiltins linker issue with llvm-8 pkg
283+
-DD_COMPILER="$(pwd)/../bootstrap/bin/ldmd2"
289284
ninja -j2 ldc2 druntime-ldc phobos2-ldc
290285
;;
291286

0 commit comments

Comments
 (0)