Skip to content

Commit

Permalink
Add new iOS CC toolchain (#278)
Browse files Browse the repository at this point in the history
This is required to build the ios-app tutorial
  • Loading branch information
keith committed Mar 13, 2023
1 parent b88cad9 commit 84193d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,6 +1,5 @@
*~
bazel-*
.bazelrc
.idea
.vscode
# Eclipse
Expand Down
6 changes: 6 additions & 0 deletions tutorial/.bazelrc
@@ -0,0 +1,6 @@
# required for ios-app

build --enable_platform_specific_config
build:macos --apple_crosstool_top=@local_config_apple_cc//:toolchain
build:macos --crosstool_top=@local_config_apple_cc//:toolchain
build:macos --host_crosstool_top=@local_config_apple_cc//:toolchain
4 changes: 2 additions & 2 deletions tutorial/WORKSPACE
Expand Up @@ -4,8 +4,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "build_bazel_rules_apple",
sha256 = "90e3b5e8ff942be134e64a83499974203ea64797fd620eddeb71b3a8e1bff681",
url = "https://github.com/bazelbuild/rules_apple/releases/download/1.1.2/rules_apple.1.1.2.tar.gz",
sha256 = "3e2c7ae0ddd181c4053b6491dad1d01ae29011bc322ca87eea45957c76d3a0c3",
url = "https://github.com/bazelbuild/rules_apple/releases/download/2.1.0/rules_apple.2.1.0.tar.gz",
)

load(
Expand Down

0 comments on commit 84193d0

Please sign in to comment.