Skip to content

Commit 0ba2b0b

Browse files
authored
Disable macOS for TensorFlow (#1617)
Due to tensorflow/tensorflow#58368 Fixing: #1587
1 parent dcbbdf3 commit 0ba2b0b

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

pipelines/tensorflow.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,28 @@ platforms:
1919
build_targets:
2020
- "//tensorflow/tools/pip_package:build_pip_package"
2121
# - "//tensorflow/examples/android:tensorflow_demo"
22-
macos:
23-
environment:
24-
TF_IGNORE_MAX_BAZEL_VERSION: 1
25-
shell_commands:
26-
# - |-
27-
# echo '
28-
# import %workspace%/.bazelrc' >>bazel.bazelrc
29-
# - |-
30-
# echo '
31-
# android_sdk_repository(name = "androidsdk")
32-
# android_ndk_repository(name = "androidndk")' >>WORKSPACE
33-
- pip3 install -U --user pip six 'numpy<1.19.0' wheel setuptools mock 'future>=0.17.1' portpicker packaging
34-
- pip3 install -U --user keras_applications==1.0.6 --no-deps
35-
- pip3 install -U --user keras_preprocessing==1.0.5 --no-deps
36-
- yes '' | python3 ./configure.py
37-
build_flags:
38-
# Suppress warning messages from all actions
39-
- "--output_filter=^$"
40-
build_targets:
41-
- "//tensorflow/tools/pip_package:build_pip_package"
22+
# TF build is broken with Xcode 14.2, but fixed with 14.3 due to https://github.com/tensorflow/tensorflow/issues/58368
23+
# TODO(pcloudy): Re-enable when we use a compatible Xcode verison.
24+
# macos:
25+
# environment:
26+
# TF_IGNORE_MAX_BAZEL_VERSION: 1
27+
# shell_commands:
28+
# # - |-
29+
# # echo '
30+
# # import %workspace%/.bazelrc' >>bazel.bazelrc
31+
# # - |-
32+
# # echo '
33+
# # android_sdk_repository(name = "androidsdk")
34+
# # android_ndk_repository(name = "androidndk")' >>WORKSPACE
35+
# - pip3 install -U --user pip six 'numpy<1.19.0' wheel setuptools mock 'future>=0.17.1' portpicker packaging
36+
# - pip3 install -U --user keras_applications==1.0.6 --no-deps
37+
# - pip3 install -U --user keras_preprocessing==1.0.5 --no-deps
38+
# - yes '' | python3 ./configure.py
39+
# build_flags:
40+
# # Suppress warning messages from all actions
41+
# - "--output_filter=^$"
42+
# build_targets:
43+
# - "//tensorflow/tools/pip_package:build_pip_package"
4244
windows:
4345
environment:
4446
TF_IGNORE_MAX_BAZEL_VERSION: 1

0 commit comments

Comments
 (0)