Skip to content

Commit 3650c55

Browse files
committed
CI workaround: Disable string processing if repo is not checked out.
1 parent 7bff9da commit 3650c55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/build-script-impl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,9 @@ for host in "${ALL_HOSTS[@]}"; do
21982198
)
21992199
fi
22002200

2201-
if [[ $(true_false "${SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING}") == "TRUE" ]] ; then
2201+
if [[ $(true_false "${SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING}") == "TRUE" && \
2202+
-d "${EXPERIMENTAL_STRING_PROCESSING_SOURCE_DIR}" && \
2203+
-n "$(ls -A "${EXPERIMENTAL_STRING_PROCESSING_SOURCE_DIR}")" ]] ; then
22022204
cmake_options=(
22032205
"${cmake_options[@]}"
22042206
-DSWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING:BOOL=TRUE

0 commit comments

Comments
 (0)