-
Notifications
You must be signed in to change notification settings - Fork 617
BLD: Update environment to ubuntu16.04 #389
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4ccdaf8
BLD: Update environment to ubuntu16.04
seanpmorgan 6974752
Remove install from loop
seanpmorgan 62f6b8a
Update working manylinux2010 build
seanpmorgan f1f4b60
Update test cases for dtype autocasting
seanpmorgan fed70f3
Merge branch 'master' into bld-ubuntu16
seanpmorgan 3f8dbd9
Add issue number
seanpmorgan 79cb477
Add comments to requirements
seanpmorgan 17dd224
Move cuda clang tpl
seanpmorgan 63bd559
Install buildifier for CI sanity
seanpmorgan adad0ac
Fix sanity check
seanpmorgan 1d45f41
Correct cuda header path
seanpmorgan 6b9eb62
Fix bazel dict join
seanpmorgan 3d7b74b
Fix last gpu build and update install comment
seanpmorgan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
build_deps/gpu/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl
100755 → 100644
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| tf-nightly-2.0-preview==2.0.0.dev20190731 | ||
| # TensorFlow greater than this date is manylinux2010 compliant | ||
| tf-nightly-2.0-preview>=2.0.0.dev20190802 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| tf-nightly-gpu-2.0-preview==2.0.0.dev20190731 | ||
| # TensorFlow greater than this date is manylinux2010 compliant | ||
| tf-nightly-gpu-2.0-preview>=2.0.0.dev20190802 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
167 changes: 167 additions & 0 deletions
167
build_deps/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.0/BUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,167 @@ | ||
| # This file is expanded from a template by cuda_configure.bzl | ||
| # Update cuda_configure.bzl#verify_build_defines when adding new variables. | ||
|
|
||
| load(":cc_toolchain_config.bzl", "cc_toolchain_config") | ||
|
|
||
| licenses(["restricted"]) | ||
|
|
||
| package(default_visibility = ["//visibility:public"]) | ||
|
|
||
| toolchain( | ||
| name = "toolchain-linux-x86_64", | ||
| exec_compatible_with = [ | ||
| "@bazel_tools//platforms:linux", | ||
| "@bazel_tools//platforms:x86_64", | ||
| ], | ||
| target_compatible_with = [ | ||
| "@bazel_tools//platforms:linux", | ||
| "@bazel_tools//platforms:x86_64", | ||
| ], | ||
| toolchain = ":cc-compiler-local", | ||
| toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", | ||
| ) | ||
|
|
||
| cc_toolchain_suite( | ||
| name = "toolchain", | ||
| toolchains = { | ||
| "local|compiler": ":cc-compiler-local", | ||
| "darwin|compiler": ":cc-compiler-darwin", | ||
| "x64_windows|msvc-cl": ":cc-compiler-windows", | ||
| "x64_windows": ":cc-compiler-windows", | ||
| "arm": ":cc-compiler-local", | ||
| "aarch64": ":cc-compiler-local", | ||
| "k8": ":cc-compiler-local", | ||
| "piii": ":cc-compiler-local", | ||
| "ppc": ":cc-compiler-local", | ||
| "darwin": ":cc-compiler-darwin", | ||
| }, | ||
| ) | ||
|
|
||
| cc_toolchain( | ||
| name = "cc-compiler-local", | ||
| all_files = ":crosstool_wrapper_driver_is_not_gcc", | ||
| compiler_files = ":empty", | ||
| dwp_files = ":empty", | ||
| linker_files = ":crosstool_wrapper_driver_is_not_gcc", | ||
| objcopy_files = ":empty", | ||
| strip_files = ":empty", | ||
| # To support linker flags that need to go to the start of command line | ||
| # we need the toolchain to support parameter files. Parameter files are | ||
| # last on the command line and contain all shared libraries to link, so all | ||
| # regular options will be left of them. | ||
| supports_param_files = 1, | ||
| toolchain_config = ":cc-compiler-local-config", | ||
| toolchain_identifier = "local_linux", | ||
| ) | ||
|
|
||
| cc_toolchain_config( | ||
| name = "cc-compiler-local-config", | ||
| builtin_include_directories = [ | ||
| "/dt7/usr/include/c++/7", | ||
| "/dt7/usr/include/c++/7/x86_64-pc-linux-gnu", | ||
| "/dt7/usr/include/c++/7/backward", | ||
| "/dt7/usr/lib/gcc/x86_64-pc-linux-gnu/7/include", | ||
| "/dt7/usr/lib/gcc/x86_64-pc-linux-gnu/7/include-fixed", | ||
| "/dt7/usr/include", | ||
| "/usr/local/cuda-10.0/targets/x86_64-linux/include", | ||
| "/usr/local/cuda-10.0/include", | ||
| "/usr/local/cuda-10.0/extras/CUPTI/include", | ||
| "/usr/include", | ||
| ], | ||
| cpu = "local", | ||
| extra_no_canonical_prefixes_flags = ["-fno-canonical-system-headers"], | ||
| host_compiler_path = "clang/bin/crosstool_wrapper_driver_is_not_gcc", | ||
| host_compiler_prefix = "/usr/bin", | ||
| host_compiler_warnings = [], | ||
| host_unfiltered_compile_flags = [], | ||
| linker_bin_path = "/usr/bin", | ||
| ) | ||
|
|
||
| cc_toolchain( | ||
| name = "cc-compiler-darwin", | ||
| all_files = ":crosstool_wrapper_driver_is_not_gcc", | ||
| compiler_files = ":empty", | ||
| dwp_files = ":empty", | ||
| linker_files = ":crosstool_wrapper_driver_is_not_gcc", | ||
| objcopy_files = ":empty", | ||
| strip_files = ":empty", | ||
| supports_param_files = 0, | ||
| toolchain_config = ":cc-compiler-local-darwin", | ||
| toolchain_identifier = "local_darwin", | ||
| ) | ||
|
|
||
| cc_toolchain_config( | ||
| name = "cc-compiler-local-darwin", | ||
| builtin_include_directories = [ | ||
| "/dt7/usr/include/c++/7", | ||
| "/dt7/usr/include/c++/7/x86_64-pc-linux-gnu", | ||
| "/dt7/usr/include/c++/7/backward", | ||
| "/dt7/usr/lib/gcc/x86_64-pc-linux-gnu/7/include", | ||
| "/dt7/usr/lib/gcc/x86_64-pc-linux-gnu/7/include-fixed", | ||
| "/dt7/usr/include", | ||
| "/usr/local/cuda-10.0/targets/x86_64-linux/include", | ||
| "/usr/local/cuda-10.0/include", | ||
| "/usr/local/cuda-10.0/extras/CUPTI/include", | ||
| "/usr/include", | ||
| ], | ||
| cpu = "darwin", | ||
| extra_no_canonical_prefixes_flags = ["-fno-canonical-system-headers"], | ||
| host_compiler_path = "clang/bin/crosstool_wrapper_driver_is_not_gcc", | ||
| host_compiler_prefix = "/usr/bin", | ||
| host_compiler_warnings = [], | ||
| host_unfiltered_compile_flags = [], | ||
| linker_bin_path = "/usr/bin", | ||
| ) | ||
|
|
||
| cc_toolchain( | ||
| name = "cc-compiler-windows", | ||
| all_files = ":windows_msvc_wrapper_files", | ||
| compiler_files = ":empty", | ||
| dwp_files = ":empty", | ||
| linker_files = ":windows_msvc_wrapper_files", | ||
| objcopy_files = ":empty", | ||
| strip_files = ":empty", | ||
| supports_param_files = 1, | ||
| toolchain_config = ":cc-compiler-windows-config", | ||
| toolchain_identifier = "local_windows", | ||
| ) | ||
|
|
||
| cc_toolchain_config( | ||
| name = "cc-compiler-windows-config", | ||
| builtin_include_directories = [ | ||
| "/dt7/usr/include/c++/7", | ||
| "/dt7/usr/include/c++/7/x86_64-pc-linux-gnu", | ||
| "/dt7/usr/include/c++/7/backward", | ||
| "/dt7/usr/lib/gcc/x86_64-pc-linux-gnu/7/include", | ||
| "/dt7/usr/lib/gcc/x86_64-pc-linux-gnu/7/include-fixed", | ||
| "/dt7/usr/include", | ||
| "/usr/local/cuda-10.0/targets/x86_64-linux/include", | ||
| "/usr/local/cuda-10.0/include", | ||
| "/usr/local/cuda-10.0/extras/CUPTI/include", | ||
| "/usr/include", | ||
| ], | ||
| cpu = "x64_windows", | ||
| msvc_cl_path = "msvc_not_used", | ||
| msvc_env_include = "msvc_not_used", | ||
| msvc_env_lib = "msvc_not_used", | ||
| msvc_env_path = "msvc_not_used", | ||
| msvc_env_tmp = "msvc_not_used", | ||
| msvc_lib_path = "msvc_not_used", | ||
| msvc_link_path = "msvc_not_used", | ||
| msvc_ml_path = "msvc_not_used", | ||
| ) | ||
|
|
||
| filegroup( | ||
| name = "empty", | ||
| srcs = [], | ||
| ) | ||
|
|
||
| filegroup( | ||
| name = "crosstool_wrapper_driver_is_not_gcc", | ||
| srcs = ["clang/bin/crosstool_wrapper_driver_is_not_gcc"], | ||
| ) | ||
|
|
||
| filegroup( | ||
| name = "windows_msvc_wrapper_files", | ||
| srcs = glob(["windows/msvc_*"]), | ||
| ) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this related to #407 so we do not pin to latest version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is the date when tensorflow began publishing manylinux2010 whls. The greater or equal to will need to stay so I added a comment to the files. Thanks!