-
Notifications
You must be signed in to change notification settings - Fork 126
Make build environment manylinux2014 compatible #52
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
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c2e43e6
Add manylinux2014 compatible libraries by modifying the devtoolset-8 …
nitins17 86fd1c0
add manylinux2014 config option in bazelrc
nitins17 5145e81
modularize wheel tag verification and tests
nitins17 c89c8ee
add devtoolset-8 build enviroment
nitins17 c0a822e
copy devtoolset-8 enviroment to the image
nitins17 17bfb29
Update build_devtoolset.sh
nitins17 b30c9b6
remove modularization and hard code to manylinux2014
nitins17 81baa51
Merge branch 'tensorflow:master' into master
nitins17 e2d2d48
remove python3.6 as we longer support it
nitins17 59813bb
use manylinux2014 toolchain by default
nitins17 dc6cb13
Merge branch 'master' into master
nitins17 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
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 |
---|---|---|
|
@@ -38,5 +38,6 @@ build --profile=/tf/pkg/profile.json | |
# https://docs.bazel.build/versions/main/remote-caching-debug.html | ||
build --execution_log_binary_file=/tf/pkg/exec_cpu.log | ||
|
||
# Use the NVCC toolchain to compile for manylinux2010 | ||
build [email protected]_manylinux2010-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain | ||
# Use the NVCC toolchain to compile for manylinux2014 | ||
build [email protected]_manylinux2014-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain | ||
|
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 |
---|---|---|
|
@@ -44,9 +44,9 @@ build --repo_env TF_NEED_CUDA=1 | |
build --action_env=TF_CUDA_VERSION="11" | ||
build --action_env=TF_CUDNN_VERSION="8" | ||
build --action_env=CUDA_TOOLKIT_PATH="/usr/local/cuda-11.2" | ||
build --action_env=GCC_HOST_COMPILER_PATH="/dt7/usr/bin/gcc" | ||
build --action_env=GCC_HOST_COMPILER_PATH="/dt8/usr/bin/gcc" | ||
build --action_env=LD_LIBRARY_PATH="/usr/local/cuda:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/tensorrt/lib" | ||
build [email protected]gcc7_manylinux2010-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain | ||
build [email protected]gcc8_manylinux2014-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain | ||
|
||
# CUDA: Enable TensorRT optimizations | ||
# https://developer.nvidia.com/tensorrt | ||
|
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
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 file pulled directly from tensorflow's master branch? If so, you can also make a separate PR to update it to match -- it should be kept up to date with TensorFlow's (eventually, it should only live here, but for now it should be mirrored).
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.
The only difference this file has with tensorflow's master branch is e2d2d48 where I removed Python 3.6.
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.
I'll push a commit to make it mirror the master branch's file.