Skip to content

build: don't require using Clang compiler. #230

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 7 commits into from
Feb 8, 2022
11 changes: 9 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
build --action_env=CC=clang
build --action_env=CXX=clang++
# Pass CC, CXX and PATH from the environment.
build --action_env=CC
build --action_env=CXX
build --action_env=PATH

# Use Clang compiler.
build:clang --action_env=BAZEL_COMPILER=clang
build:clang --action_env=CC=clang
build:clang --action_env=CXX=clang++

build --enable_platform_specific_config

Expand Down