We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9ccb7f + 6f9505d commit 639f636Copy full SHA for 639f636
build/build.py
@@ -454,7 +454,10 @@ async def main():
454
wheel_build_command_base.append(f"--action_env=CLANG_COMPILER_PATH=\"{clang_path}\"")
455
wheel_build_command_base.append(f"--repo_env=CC=\"{clang_path}\"")
456
wheel_build_command_base.append(f"--repo_env=BAZEL_COMPILER=\"{clang_path}\"")
457
- wheel_build_command_base.append("--config=clang")
+ if clang_major_version >= 16:
458
+ # Enable clang settings that needed for the build to work with newer
459
+ # versions of Clang.
460
+ wheel_build_command_base.append("--config=clang")
461
else:
462
logging.debug("Use Clang: False")
463
0 commit comments