Skip to content

Commit a42de55

Browse files
committed
WIP: Use bootstrapped llvm toolchain
1 parent 87d3dc3 commit a42de55

File tree

11 files changed

+206
-994
lines changed

11 files changed

+206
-994
lines changed

.bazelrc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ common --define=SOME_VAR=SOME_VALUE
1111
common --@pypi//venv=default
1212

1313
common --incompatible_enable_cc_toolchain_resolution
14+
common --@toolchains_llvm_bootstrapped//config:experimental_stub_libgcc_s
15+
#common --@rules_cc//cc/toolchains/args/archiver_flags:use_libtool_on_macos=false
1416

1517
# TODO(bzlmod): Don't break proto
1618
common --per_file_copt=external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT
1719
common --host_per_file_copt=external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT
1820

19-
# Don't try and auto detect the cc toolchain, as we use our own gcc toolchains.
21+
# Don't try and auto detect the cc toolchain, as we use our own llvm toolchains.
2022
common --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
2123

22-
# Don't link against libunwind on macos as it causes linking failures (https://github.com/bazel-contrib/toolchains_llvm/pull/346)
23-
common:macos --@toolchains_llvm//toolchain/config:libunwind=False
24-
2524
common:ci --toolchain_resolution_debug='@@bazel_tools//tools/cpp:toolchain_type'
2625

2726
common:release --build_tag_filters=release

0 commit comments

Comments
 (0)