Skip to content

Commit f8a8d08

Browse files
committed
Set SWIFTCI_USE_LOCAL_DEPS=1
Instructs auxiliary repos to use local clones rather than fresh checkouts from Package.swift. This gives us more control over branches specified in update-checkout-config.json. This resolves mismatches such as yams, which currently points to a fork in one place, but not the other.
1 parent 6da0133 commit f8a8d08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/build-toolchain-tensorflow

+3
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ SWIFT_TOOLCHAIN_DIR="/Library/Developer/Toolchains/${TOOLCHAIN_NAME}.xctoolchain
173173
SYMBOLS_PACKAGE="${SRC_DIR}/${SYM_ARCHIVE}"
174174
DRY_RUN="${DRY_RUN}"
175175

176+
# Instructs swift-driver, et al to use local clones.
177+
export SWIFTCI_USE_LOCAL_DEPS=1
178+
176179
if [ ${INSTALLER_PACKAGE} ]; then
177180
INSTALLER_PACKAGE="darwin_toolchain_installer_package=${TOOLCHAIN_NAME}-osx.pkg"
178181
fi

0 commit comments

Comments
 (0)