Skip to content

Commit 5579118

Browse files
committed
[build-script] Propagate libdispatch-cmake-options
PR #25085 [1] enabled building and installing the static variant of the libdispatch library in build-script-impl. This broke the `tsan-libdispatch-test` preset [2]. Let's make sure we pass along the options specified in `libdispatch-cmake-options` when building the static variant. [1] #25085 [2] #24330 rdar://problem/49177823
1 parent 4ecab47 commit 5579118

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-script-impl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,6 +2117,7 @@ for host in "${ALL_HOSTS[@]}"; do
21172117
tmp_product=${product}
21182118
if [[ ${tmp_product} == "libdispatch_static" ]]; then
21192119
tmp_product=libdispatch
2120+
LIBDISPATCH_STATIC_CMAKE_OPTIONS=${LIBDISPATCH_CMAKE_OPTIONS[@]}
21202121
fi
21212122
if ! [[ $(should_execute_action "${host}-${tmp_product}-build") ]]; then
21222123
continue

0 commit comments

Comments
 (0)