Skip to content

Commit af29f5d

Browse files
author
Davide Italiano
committed
[build-script] Allow primary-variant-arch and primary-variant-sdk to be set independently.
It's unclear why they're grouped, and it's also confusing.
1 parent 61be64a commit af29f5d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

utils/build-script-impl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,10 +1712,17 @@ for host in "${ALL_HOSTS[@]}"; do
17121712
-DSWIFT_SDKS:STRING="$(join ";" ${SWIFT_SDKS[@]})"
17131713
)
17141714
fi
1715+
17151716
if [[ "${SWIFT_PRIMARY_VARIANT_SDK}" ]] ; then
17161717
cmake_options=(
17171718
"${cmake_options[@]}"
17181719
-DSWIFT_PRIMARY_VARIANT_SDK:STRING="${SWIFT_PRIMARY_VARIANT_SDK}"
1720+
)
1721+
fi
1722+
1723+
if [[ "${SWIFT_PRIMARY_VARIANT_ARCH}" ]] ; then
1724+
cmake_options=(
1725+
"${cmake_options[@]}"
17191726
-DSWIFT_PRIMARY_VARIANT_ARCH:STRING="${SWIFT_PRIMARY_VARIANT_ARCH}"
17201727
)
17211728
fi

0 commit comments

Comments
 (0)