File tree Expand file tree Collapse file tree 5 files changed +8
-1
lines changed Expand file tree Collapse file tree 5 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ commonSteps: &commonSteps
79
79
-DCMAKE_BUILD_TYPE=Release \
80
80
-DD_COMPILER=$PWD/../host-ldc/bin/ldmd2 \
81
81
-DLDC_LINK_MANUALLY=OFF \
82
+ -DCMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY=ON \
82
83
$EXTRA_CMAKE_FLAGS
83
84
ninja -j$PARALLELISM obj/ldc2.o all ldc2-unittest all-test-runners
84
85
bin/ldc2 -version
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ common_steps_template: &COMMON_STEPS_TEMPLATE
26
26
-DCMAKE_INSTALL_PREFIX=$installDir \
27
27
-DINCLUDE_INSTALL_DIR=$installDir/import \
28
28
-DLDC_LINK_MANUALLY=OFF \
29
+ -DCMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY=ON \
29
30
"${extraFlags[@]}"
30
31
ninja -j$PARALLELISM obj/ldc2.o all ldc2-unittest all-test-runners
31
32
bin/ldc2 -version
@@ -405,7 +406,8 @@ task:
405
406
-DLLVM_ROOT_DIR=$PWD/../llvm \
406
407
-DD_COMPILER=$PWD/../host-ldc/bin/ldmd2 \
407
408
-DBUILD_SHARED_LIBS=OFF \
408
- -DBUILD_LTO_LIBS=ON
409
+ -DBUILD_LTO_LIBS=ON \
410
+ -DCMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY=ON
409
411
ninja -j$PARALLELISM obj/ldc2.o all
410
412
bin/ldc2 -version
411
413
<< : *COMMON_STEPS_TEMPLATE
Original file line number Diff line number Diff line change 35
35
-DLLVM_ROOT_DIR="$PWD/../${{ inputs.llvm_dir }}" \
36
36
-DD_COMPILER='${{ inputs.host_dc }}' \
37
37
-DLDC_LINK_MANUALLY=OFF \
38
+ -DCMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY=ON \
38
39
${{ inputs.specify_install_dir == 'true' && '-DCMAKE_INSTALL_PREFIX="$installDir"' || '' }} \
39
40
${{ inputs.specify_install_dir == 'true' && '-DINCLUDE_INSTALL_DIR="$installDir/import"' || '' }} \
40
41
${{ inputs.cmake_flags }}
57
58
"-DD_COMPILER=${{ inputs.host_dc }}" ^
58
59
-DCMAKE_C_COMPILER=clang-cl ^
59
60
-DCMAKE_CXX_COMPILER=clang-cl ^
61
+ -DCMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY=ON ^
60
62
${{ inputs.specify_install_dir == 'true' && '"-DCMAKE_INSTALL_PREFIX=%installDir%"' || '' }} ^
61
63
${{ inputs.specify_install_dir == 'true' && '"-DINCLUDE_INSTALL_DIR=%installDir%\import"' || '' }} ^
62
64
${{ inputs.cmake_flags }}
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ jobs:
121
121
-DCMAKE_BUILD_TYPE=Release \
122
122
-DLLVM_ROOT_DIR="$PWD/llvm" \
123
123
-DLDC_LINK_MANUALLY=OFF \
124
+ -DCMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY=ON \
124
125
${{ matrix.cmake_flags }}
125
126
ninja obj/ldc2.o all ldc2-unittest all-test-runners
126
127
bin/ldc2 --version
Original file line number Diff line number Diff line change @@ -335,6 +335,7 @@ if(TARGET gen_gccbuiltins)
335
335
add_custom_command (
336
336
OUTPUT ${module}
337
337
COMMAND gen_gccbuiltins ${module} "${name} "
338
+ DEPENDS gen_gccbuiltins
338
339
)
339
340
endfunction ()
340
341
You can’t perform that action at this time.
0 commit comments