mirror of
https://github.com/urbit/vere.git
synced 2024-09-11 11:55:31 +03:00
Use llvm@15 linker/ar/nm
This commit is contained in:
parent
aca5410f5f
commit
6fe540959d
@ -279,7 +279,7 @@ cc_toolchain_config(
|
||||
# NOTE: building with `libtool` does not work on macOS due to lack of
|
||||
# support in the `configure_make` rule provided by `rules_foreign_cc`.
|
||||
# Therefore, we require setting `ar` as the archiver tool on macOS.
|
||||
ar = "/usr/bin/ar",
|
||||
ar = "/usr/local/opt/llvm@15/bin/llvm-ar",
|
||||
# By default, Bazel passes the `rcsD` flags to `ar`, but macOS's `ar`
|
||||
# implementation doesn't support `D`. We remove it with this attribute
|
||||
# and corresponding `ar_flags_feature` in `cfg.bzl`.
|
||||
@ -288,7 +288,8 @@ cc_toolchain_config(
|
||||
cc = "/usr/local/opt/llvm@15/bin/clang",
|
||||
compiler = "clang",
|
||||
compiler_version = "//:clang_version",
|
||||
ld = "/usr/bin/ld",
|
||||
ld = "/usr/local/opt/llvm@15/bin/llvm-lld",
|
||||
nm = "/usr/local/opt/llvm@15/bin/llvm-nm",
|
||||
sys_includes = [
|
||||
"/usr/local/Cellar/llvm@15/15.0.7/lib/clang/15.0.7/include",
|
||||
"/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include",
|
||||
|
Loading…
Reference in New Issue
Block a user