Skip to content

Commit af244af

Browse files
committed
register llvm tool
1 parent 8605cab commit af244af

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.bazelrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build:remote --remote_timeout=7200
1414
# ========================================
1515

1616
# Enable libc++ and C++20 by default.
17-
build --repo_env=BAZEL_LLVM_PATH=/usr/lib/llvm
17+
# build --repo_env=BAZEL_LLVM_PATH=/usr/lib/llvm
1818
build:linux --config=clang
1919

2020
# put /usr/local/bin before /usr/bin to avoid picking up wrong python3.6 when building envoy.tls.key_providers.cryptomb
@@ -51,8 +51,8 @@ build:debug -c dbg
5151
build --cxxopt -Wformat
5252
build --cxxopt -Wformat-security
5353

54-
build:clang --host_action_env=CC=
55-
build:clang --host_action_env=CXX=
54+
# build:clang --host_action_env=CC=
55+
# build:clang --host_action_env=CXX=
5656

5757
# CI sanitizer configuration
5858
#

WORKSPACE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,8 @@ envoy_repo()
8181
load("@envoy//bazel:toolchains.bzl", "envoy_toolchains")
8282

8383
envoy_toolchains()
84+
85+
load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")
86+
87+
llvm_register_toolchains()
88+

0 commit comments

Comments
 (0)