| --- |
| platforms: |
| ubuntu2004: |
| environment: |
| TF_IGNORE_MAX_BAZEL_VERSION: 1 |
| shell_commands: |
| - pip3 install portpicker keras_applications keras_preprocessing future packaging dataclasses |
| - wget https://apt.llvm.org/llvm.sh && sudo bash llvm.sh 16 |
| - yes '' | python3 ./configure.py |
| build_flags: |
| # Suppress warning messages from all actions |
| - "--output_filter=^$" |
| build_targets: |
| - "//tensorflow/tools/pip_package:build_pip_package" |
| # TODO(pcloudy): Re-enable when macOS VMs are all upgraded to Xcode 14.3 |
| # macos: |
| # environment: |
| # TF_IGNORE_MAX_BAZEL_VERSION: 1 |
| # shell_commands: |
| # - 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 |
| # xcode_version: "14.3" |
| # build_flags: |
| # # Suppress warning messages from all actions |
| # - "--output_filter=^$" |
| # - "--remote_download_outputs=all" |
| # build_targets: |
| # - "//tensorflow/tools/pip_package:build_pip_package" |
| windows: |
| environment: |
| TF_IGNORE_MAX_BAZEL_VERSION: 1 |
| BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC" |
| batch_commands: |
| - pip3 install packaging |
| - echo.| python ./configure.py |
| build_flags: |
| # Suppress warning messages from all actions |
| - "--output_filter=^$" |
| build_targets: |
| - "//tensorflow/tools/pip_package:build_pip_package" |