File tree 3 files changed +19
-25
lines changed
3 files changed +19
-25
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ build --enable_bzlmod
16
+
15
17
# Use the earliest supported C++ version for protoc.
16
18
build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14
17
19
Original file line number Diff line number Diff line change
1
+ module (
2
+ name = "nativelink" ,
3
+ version = "0.0.0" ,
4
+ compatibility_level = 0 ,
5
+ )
6
+
7
+ register_execution_platforms (
8
+ "@nativelink//local-remote-execution/generated/config:platform" ,
9
+ )
10
+
11
+ register_toolchains (
12
+ "@nativelink//local-remote-execution/generated/config:cc-toolchain" ,
13
+ "@nativelink//local-remote-execution/generated/java:all" ,
14
+ )
15
+
16
+ bazel_dep (name = "platforms" , version = "0.0.8" )
17
+ bazel_dep (name = "rules_cc" , version = "0.0.9" )
Original file line number Diff line number Diff line change @@ -2,22 +2,6 @@ workspace(name = "nativelink")
2
2
3
3
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
4
4
5
- http_archive (
6
- name = "rules_cc" ,
7
- sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf" ,
8
- strip_prefix = "rules_cc-0.0.9" ,
9
- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" ],
10
- )
11
-
12
- register_execution_platforms (
13
- "@nativelink//local-remote-execution/generated/config:platform" ,
14
- )
15
-
16
- register_toolchains (
17
- "@nativelink//local-remote-execution/generated/config:cc-toolchain" ,
18
- "@nativelink//local-remote-execution/generated/java:all" ,
19
- )
20
-
21
5
http_archive (
22
6
name = "rules_rust" ,
23
7
sha256 = "36ab8f9facae745c9c9c1b33d225623d976e78f2cc3f729b7973d8c20934ab95" ,
@@ -26,15 +10,6 @@ http_archive(
26
10
],
27
11
)
28
12
29
- http_archive (
30
- name = "rules_python" ,
31
- sha256 = "84aec9e21cc56fbc7f1335035a71c850d1b9b5cc6ff497306f84cced9a769841" ,
32
- strip_prefix = "rules_python-0.23.1" ,
33
- urls = [
34
- "https://github.com/bazelbuild/rules_python/releases/download/0.23.1/rules_python-0.23.1.tar.gz" ,
35
- ],
36
- )
37
-
38
13
load (
39
14
"@rules_rust//rust:repositories.bzl" ,
40
15
"rules_rust_dependencies" ,
You can’t perform that action at this time.
0 commit comments