Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable macOS for TensorFlow #1617

Merged
merged 1 commit into from
May 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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