blob: dc25467829bbb27a8156248e8184d1a601762848 [file] [log] [blame]
---
platforms:
ubuntu1804:
environment:
TF_IGNORE_MAX_BAZEL_VERSION: 1
USE_BAZEL_VERSION: latest
shell_commands:
# - |-
# echo '
# import %workspace%/.bazelrc' >>bazel.bazelrc
# - |-
# echo '
# android_sdk_repository(name = "androidsdk")
# android_ndk_repository(name = "androidndk")' >>WORKSPACE
- yes '' | ./configure
build_flags:
- "--config=opt"
# Suppress warning messages from all actions
- "--output_filter=^$"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
# - "//tensorflow/examples/android:tensorflow_demo"
macos:
environment:
TF_IGNORE_MAX_BAZEL_VERSION: 1
USE_BAZEL_VERSION: latest
xcode_version: "10.2.1"
shell_commands:
# - |-
# echo '
# import %workspace%/.bazelrc' >>bazel.bazelrc
# - |-
# echo '
# android_sdk_repository(name = "androidsdk")
# android_ndk_repository(name = "androidndk")' >>WORKSPACE
- easy_install pip
- pip3 install -U --user pip six numpy wheel setuptools mock 'future>=0.17.1'
- 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:
- "--config=opt"
# 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
USE_BAZEL_VERSION: latest
BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC"
batch_commands:
- echo.| python ./configure.py
build_flags:
- "--config=opt"
# Suppress warning messages from all actions
- "--output_filter=^$"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"