|
2 | 2 | # See https://llvm.org/LICENSE.txt for license information.
|
3 | 3 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
4 | 4 |
|
5 |
| -load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") |
6 | 5 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
7 | 6 | load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
|
8 | 7 |
|
@@ -84,10 +83,11 @@ apple_support_dependencies()
|
84 | 83 | # Note: that building from source requires `m4` to be installed on the host machine.
|
85 | 84 | # This is a known issue: https://github.com/bazelbuild/rules_foreign_cc/issues/755.
|
86 | 85 |
|
87 |
| -git_repository( |
| 86 | +http_archive( |
88 | 87 | name = "rules_foreign_cc",
|
89 |
| - remote = "https://github.com/bazelbuild/rules_foreign_cc.git", |
90 |
| - tag = "0.9.0", |
| 88 | + sha256 = "4b33d62cf109bcccf286b30ed7121129cc34cf4f4ed9d8a11f38d9108f40ba74", |
| 89 | + strip_prefix = "rules_foreign_cc-0.11.1", |
| 90 | + url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.11.1/rules_foreign_cc-0.11.1.tar.gz", |
91 | 91 | )
|
92 | 92 |
|
93 | 93 | load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
|
@@ -120,11 +120,12 @@ maybe(
|
120 | 120 | )
|
121 | 121 |
|
122 | 122 | maybe(
|
123 |
| - new_git_repository, |
| 123 | + http_archive, |
124 | 124 | name = "pfm",
|
125 | 125 | build_file = "@llvm-raw//utils/bazel/third_party_build:pfm.BUILD",
|
126 |
| - remote = "https://git.code.sf.net/p/perfmon2/libpfm4", |
127 |
| - tag = "v4.12.1", |
| 126 | + sha256 = "d18b97764c755528c1051d376e33545d0eb60c6ebf85680436813fa5b04cc3d1", |
| 127 | + strip_prefix = "libpfm-4.13.0", |
| 128 | + urls = ["https://versaweb.dl.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.13.0.tar.gz"], |
128 | 129 | )
|
129 | 130 |
|
130 | 131 | maybe(
|
|
0 commit comments