-
Notifications
You must be signed in to change notification settings - Fork 128
Update manylinux containers to use gcc-toolset-13 #1745
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
Conversation
|
Compilation of ROCm that was using this docker successfully passed. https://github.com/ROCm/TheRock/actions/runs/18395921549/job/52415357417 |
stellaraccident
left a comment
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.
Can you please update the PR description prior to landing with the motivation for this (bug in binutils, etc).
|
When are you planning to bump the container hash to use these? |
Today with PR #1746 |
- Update workflows to use new manylinux docker image produced by #1745 - For Linux, turn on `DYNAMIC_ARCH` for OpenBLAS build to resolve #83. - `DYNAMIC_ARCH` support does not exist for MSVC and multi-arch support for Windows seems shoddy overall. [Reference 1](OpenMathLib/OpenBLAS#2826 (comment)) and [Reference 2](OpenMathLib/OpenBLAS#3985) - Remove usage of f2c version of an older lapack as it is considered fallback option. [Reference](OpenMathLib/OpenBLAS#4318 (comment)) - Patch amd-llvm compiler to be able to find stdc++ from gcc-toolset-13 during link time.
- To address #1738 and #83 - gcc-toolset-12 ships with binutils 2.38, and this version has a bug exposed by `DYNAMIC_ARCH` turned ON for OpenBLAS. See OpenMathLib/OpenBLAS#3708 - TheRock needs that `DYNAMIC_ARCH` OpenBLAS flag on to support testing of BLAS and SOLVER libraries for cases where test machine's CPU is different than the build machine. The CPU is used for calculating results, and comparing against the test result values produced by the GPU. - gcc-toolset-13 has a version of binutils that is fixed for this use case.
- Update workflows to use new manylinux docker image produced by #1745 - For Linux, turn on `DYNAMIC_ARCH` for OpenBLAS build to resolve #83. - `DYNAMIC_ARCH` support does not exist for MSVC and multi-arch support for Windows seems shoddy overall. [Reference 1](OpenMathLib/OpenBLAS#2826 (comment)) and [Reference 2](OpenMathLib/OpenBLAS#3985) - Remove usage of f2c version of an older lapack as it is considered fallback option. [Reference](OpenMathLib/OpenBLAS#4318 (comment)) - Patch amd-llvm compiler to be able to find stdc++ from gcc-toolset-13 during link time.
DYNAMIC_ARCHturned ON for OpenBLAS. Seelibopenblasunusable when built with binutils 2.38 on Ubuntu 18.04 and 20.04 OpenMathLib/OpenBLAS#3708DYNAMIC_ARCHOpenBLAS flag on to support testing of BLAS and SOLVER libraries for cases where test machine's CPU is different than the build machine. The CPU is used for calculating results, and comparing against the test result values produced by the GPU.