Skip to content
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

Use clang toolchain to building manylinux2014 wheels #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ethanluoyc
Copy link
Contributor

TensorFlow > 2.13.0 starts using clang for building the release wheels. Reverb and Launchpad are still using
GCC, which may potentially encounter ABI compatibility issues. See e.g., pybind/pybind11_abseil#12

This PR updates Reverb to use clang as well. The toolchain configuration is obtained from running the TensorFlow repository with the release_cpu_linux config and then applying some manual modification.

I have to disable errors at the moment (see .bazelrc) as clang otherwise complains about building some of the dependencies (BoringSSL and UPB). Disabling the specific warnings does not seem to work at the moment but maybe I just didn't know how to set them properly in Bazel.

TensorFlow > 2.13.0 starts using clang for building the
release wheels. Update the Reverb to use clang as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants