-
Notifications
You must be signed in to change notification settings - Fork 140
/
Copy pathtensorflow.yml
43 lines (43 loc) · 1.49 KB
/
tensorflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
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=^$"
- "--host_features=-force_no_whole_archive"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
macos:
environment:
TF_IGNORE_MAX_BAZEL_VERSION: 1
shell_commands:
- pip3 install -U --user pip numpy wheel packaging requests opt_einsum portpicker mock
- pip3 install -U --user keras_preprocessing --no-deps
- yes '' | python3 ./configure.py
xcode_version: "14.3"
build_flags:
# Suppress warning messages from all actions
- "--output_filter=^$"
- "--remote_download_outputs=all"
- "--host_features=-force_no_whole_archive"
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=^$"
- "--host_features=-force_no_whole_archive"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"