Commit 6991c07 1 parent 4644f3b commit 6991c07 Copy full SHA for 6991c07
File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,11 @@ jobs:
32
32
cd bootstrap
33
33
cmake -G Ninja .. \
34
34
-DCMAKE_BUILD_TYPE=Release \
35
- -DCMAKE_INSTALL_PREFIX="/opt/ldc2" \
36
- -DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ \
37
- -DD_COMPILER_FLAGS=-link-defaultlib-shared=false \
38
35
-DBUILD_SHARED_LIBS=OFF
39
36
ninja obj/ldc2.o all
40
37
bin/ldc2 --version
41
38
cd ..
42
39
43
- # TODO: Add '-DLLVM_IS_SHARED=OFF' when static linking is fully supported
44
40
# TSan and XRay do not work.
45
41
- name : Build LDC & LDC D unittests & defaultlib unittest runners
46
42
shell : alpine.sh {0}
50
46
-DD_COMPILER=./bootstrap/bin/ldmd2 \
51
47
-DCMAKE_BUILD_TYPE=Release \
52
48
-DCMAKE_INSTALL_PREFIX="/opt/ldc2" \
53
- -DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ \
49
+ -DINCLUDE_INSTALL_DIR="/opt/ldc2/import" \
50
+ -DLLVM_IS_SHARED=OFF \
51
+ -DCMAKE_EXE_LINKER_FLAGS=-static \
54
52
-DD_COMPILER_FLAGS=-link-defaultlib-shared=false \
55
53
-DBUILD_SHARED_LIBS=OFF \
56
54
-DTEST_COMPILER_RT_LIBRARIES="profile;lsan;asan;msan;fuzzer"
You can’t perform that action at this time.
0 commit comments