Skip to content

Commit 85595a8

Browse files
committed
more macos cleanup
1 parent 5da2bda commit 85595a8

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.bazelrc

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,15 @@ build:linux --cxxopt=-fvisibility=hidden --copt=-fvisibility=hidden
4848
#build:linux --fission=yes --copt=-g
4949
build:linux --copt=-g --strip=never
5050

51-
#build:macos --copt=-Wno-missing-template-arg-list-after-template-kw
52-
#build:macos --host_copt=-Wno-missing-template-arg-list-after-template-kw
5351

5452
build:macos --copt=-DCIVETWEB_API= --copt=-DCIVETWEB_CXX_API= --cxxopt=-DCIVETWEB_API= --cxxopt=-DCIVETWEB_CXX_API=
5553
build:macos --cxxopt=-fvisibility=hidden --copt=-fvisibility=hidden
56-
build:macos --strip=never --copt=-g --action_env=CC=/opt/homebrew/bin/clang --host_action_env=CC=/opt/homebrew/bin/clang
57-
# https://github.com/Homebrew/homebrew-core/issues/178435#issuecomment-2250615995
58-
#build:macos --linkopt=-L/opt/homebrew/opt/llvm/lib/c++ --linkopt=-L/opt/homebrew/opt/llvm/lib/unwind --linkopt=-lunwind
59-
#build:macos --host_linkopt=-L/opt/homebrew/opt/llvm/lib/c++ --host_linkopt=-L/opt/homebrew/opt/llvm/lib/unwind --host_linkopt=-lunwind
60-
61-
build:macos --linkopt=-L/opt/homebrew/opt/llvm/lib
62-
build:macos --host_linkopt=-L/opt/homebrew/opt/llvm/lib
63-
64-
build:macos --copt="-I /opt/homebrew/opt/llvm/include"
65-
build:macos --host_copt="-I /opt/homebrew/opt/llvm/include"
54+
build:macos --strip=never --copt=-g --cxxopt=-g
55+
# Does not yet compoile with the Developer command-line tools, needs clang from homebrew
56+
#build:macos --action_env=/Library/Developer/CommandLineTools/usr/bin/clang
57+
#build:macos --host_action_env=/Library/Developer/CommandLineTools/usr/bin/clang
58+
build:macos --action_env=CC=/opt/homebrew/bin/clang
59+
build:macos --host_action_env=CC=/opt/homebrew/bin/clang
6660

6761
# --config=asan : Address Sanitizer.
6862
common:asan --copt -DADDRESS_SANITIZER

0 commit comments

Comments
 (0)