Skip to content

Commit

Permalink
Disable macOS for TensorFlow (bazelbuild#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy authored and fmeum committed Dec 10, 2023
1 parent 55fd4f7 commit 118c813
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions pipelines/tensorflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,28 @@ platforms:
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
# - "//tensorflow/examples/android:tensorflow_demo"
macos:
environment:
TF_IGNORE_MAX_BAZEL_VERSION: 1
shell_commands:
# - |-
# echo '
# import %workspace%/.bazelrc' >>bazel.bazelrc
# - |-
# echo '
# android_sdk_repository(name = "androidsdk")
# android_ndk_repository(name = "androidndk")' >>WORKSPACE
- pip3 install -U --user pip six 'numpy<1.19.0' wheel setuptools mock 'future>=0.17.1' portpicker packaging
- pip3 install -U --user keras_applications==1.0.6 --no-deps
- pip3 install -U --user keras_preprocessing==1.0.5 --no-deps
- yes '' | python3 ./configure.py
build_flags:
# Suppress warning messages from all actions
- "--output_filter=^$"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
# TF build is broken with Xcode 14.2, but fixed with 14.3 due to https://github.com/tensorflow/tensorflow/issues/58368
# TODO(pcloudy): Re-enable when we use a compatible Xcode verison.
# macos:
# environment:
# TF_IGNORE_MAX_BAZEL_VERSION: 1
# shell_commands:
# # - |-
# # echo '
# # import %workspace%/.bazelrc' >>bazel.bazelrc
# # - |-
# # echo '
# # android_sdk_repository(name = "androidsdk")
# # android_ndk_repository(name = "androidndk")' >>WORKSPACE
# - pip3 install -U --user pip six 'numpy<1.19.0' wheel setuptools mock 'future>=0.17.1' portpicker packaging
# - pip3 install -U --user keras_applications==1.0.6 --no-deps
# - pip3 install -U --user keras_preprocessing==1.0.5 --no-deps
# - yes '' | python3 ./configure.py
# build_flags:
# # Suppress warning messages from all actions
# - "--output_filter=^$"
# build_targets:
# - "//tensorflow/tools/pip_package:build_pip_package"
windows:
environment:
TF_IGNORE_MAX_BAZEL_VERSION: 1
Expand Down

0 comments on commit 118c813

Please sign in to comment.