-
Notifications
You must be signed in to change notification settings - Fork 5
/
WORKSPACE
61 lines (47 loc) · 2.03 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
workspace(name = "rules_applecross")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_rules_apple",
patch_args = ["-p1"],
patches = ["//third_party:rules_apple.patch"],
sha256 = "06191d8c5f87b1f83426cdf6a6d5fc8df545786815801324a1494f46a8a9c3d3",
strip_prefix = "rules_apple-0.31.2",
url = "https://github.com/bazelbuild/rules_apple/archive/0.31.2.tar.gz",
)
load(
"@build_bazel_rules_apple//apple:repositories.bzl",
"apple_rules_dependencies",
)
apple_rules_dependencies()
load(
"@rules_applecross//toolchain:repositories.bzl",
"apple_cross_toolchain_config_dependencies",
)
apple_cross_toolchain_config_dependencies()
load(
"@rules_applecross//toolchain:apple_cross_toolchain.bzl",
"apple_cross_toolchain",
)
apple_cross_toolchain(
name = "apple_cross_toolchain",
clang_sha256 = "8f50330cfa4c609841e73286a3a056cff95cf55ec04b3f1280d0cd0052e96c2a",
clang_strip_prefix = "clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04",
clang_urls = ["https://github.com/apple-cross-toolchain/ci/releases/download/0.0.6/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04-stripped.tar.xz"],
swift_sha256 = "57dd2731779386f747d9228e2d9f6bdb27c262e1cc3849f39543f1ea28946069",
swift_strip_prefix = "swift-5.3.3-RELEASE-ubuntu20.04",
swift_urls = ["https://github.com/apple-cross-toolchain/ci/releases/download/0.0.12/swift-5.3.3-RELEASE-ubuntu20.04-stripped.tar.xz"],
xcode_sha256 = "44221c0f4acd48d7a33ee7e51143433dee94c649cfee44cfff3c7915ac54fdd2",
xcode_urls = ["https://github.com/apple-cross-toolchain/apple-sdks/releases/download/0.0.4/apple-sdks-xcode-12.4.tar.xz"],
)
load("@apple_cross_toolchain//:repositories.bzl", "apple_cross_toolchain_dependencies")
apple_cross_toolchain_dependencies()
load(
"@build_bazel_rules_swift//swift:repositories.bzl",
"swift_rules_dependencies",
)
swift_rules_dependencies()
load(
"@build_bazel_rules_swift//swift:extras.bzl",
"swift_rules_extra_dependencies",
)
swift_rules_extra_dependencies()