Skip to content

Commit

Permalink
Add darwin_x86_64 to toolchain setup
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Jan 9, 2019
1 parent edf7375 commit 4900300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/cpp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ cc_toolchain_suite(
toolchains = {
"armeabi-v7a|compiler": ":cc-compiler-armeabi-v7a",
"darwin|compiler": ":cc-compiler-darwin",
"darwin_x86_64|compiler": ":cc-compiler-darwin",
"freebsd|compiler": ":cc-compiler-freebsd",
"local|compiler": ":cc-compiler-local",
"x64_windows|compiler": ":cc-compiler-x64_windows",
Expand All @@ -103,6 +104,7 @@ cc_toolchain_suite(
"ppc": ":cc-compiler-local",
"ppc64": ":cc-compiler-local",
"darwin": ":cc-compiler-darwin",
"darwin_x86_64": ":cc-compiler-darwin",
"freebsd": ":cc-compiler-freebsd",
"armeabi-v7a": ":cc-compiler-armeabi-v7a",
"x64_windows": ":cc-compiler-x64_windows",
Expand Down
2 changes: 2 additions & 0 deletions tools/osx/crosstool/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ CC_TOOLCHAINS = [(
) for cpu in OSX_TOOLS_ARCHS] + [
("k8|compiler", ":cc-compiler-darwin_x86_64", ),
("darwin|compiler", ":cc-compiler-darwin_x86_64", ),
("darwin_x86_64|compiler", ":cc-compiler-darwin_x86_64", ),
("k8", ":cc-compiler-darwin_x86_64", ),
("darwin", ":cc-compiler-darwin_x86_64", ),
("darwin_x86_64", ":cc-compiler-darwin_x86_64", ),
]

cc_library(
Expand Down

0 comments on commit 4900300

Please sign in to comment.