Skip to content

Commit c5f2e09

Browse files
authored
Add tensorflow_osx,no_test,installer build preset. (#24889)
Add preset to build macOS toolchain without running tests. ``` utils/build-toolchain-tensorflow --pkg # build pkg, no test utils/build-toolchain-tensorflow --pkg --test # build pkg, test ```
1 parent f0e8864 commit c5f2e09

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

utils/build-presets.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,6 +2116,12 @@ mixin-preset=
21162116
mixin_codesigning
21172117
darwin-toolchain-installer-package=%(darwin_toolchain_installer_package)s
21182118

2119+
[preset: tensorflow_osx,no_test,installer]
2120+
mixin-preset=
2121+
tensorflow_osx,no_test
2122+
mixin_codesigning
2123+
darwin-toolchain-installer-package=%(darwin_toolchain_installer_package)s
2124+
21192125
[preset: tensorflow_linux]
21202126
mixin-preset=buildbot_linux
21212127
enable-tensorflow

utils/build-toolchain-tensorflow

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ while [ $# -ne 0 ]; do
8585
INSTALLER_PACKAGE=1
8686
if [ "$(uname -s)" == "Darwin" ]; then
8787
SWIFT_PACKAGE_INSTALLER=,installer
88-
SWIFT_PACKAGE_NOTEST=
8988
else
9089
echo "--pkg is not supported on \"$(uname -s)\". See --help"
9190
exit 1

0 commit comments

Comments
 (0)