File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ configure_make(
61
61
cc_library (
62
62
name = "backward" ,
63
63
hdrs = [
64
- "backward.hpp"
64
+ "backward.hpp" ,
65
65
],
66
66
defines = [
67
67
# For binutils
@@ -74,14 +74,14 @@ cc_library(
74
74
"-ldl" ,
75
75
"-lz" ,
76
76
],
77
- visibility = ["//visibility:public" ],
78
77
# For now we support this library for macOS and Linux. Maybe in
79
78
# future we will add the support for Windows too.
80
79
target_compatible_with = select ({
81
80
"@platforms//os:osx" : [],
82
81
"@platforms//os:linux" : [],
83
82
"//conditions:default" : ["@platforms//:incompatible" ],
84
83
}),
84
+ visibility = ["//visibility:public" ],
85
85
deps = select ({
86
86
"@bazel_tools//src/conditions:darwin" : [
87
87
":binutils" ,
Original file line number Diff line number Diff line change @@ -14,17 +14,8 @@ filegroup(
14
14
"""
15
15
16
16
def deps (repo_mapping = {}):
17
- rules_foreign_cc_dependencies ()
18
-
19
17
# Get the latest rules for building C/C++ projects.
20
- maybe (
21
- http_archive ,
22
- name = "rules_foreign_cc" ,
23
- url = "https://github.com/bazelbuild/rules_foreign_cc/archive/refs/tags/0.8.0.tar.gz" ,
24
- sha256 = "6041f1374ff32ba711564374ad8e007aef77f71561a7ce784123b9b4b88614fc" ,
25
- strip_prefix = "rules_foreign_cc-0.8.0" ,
26
- repo_mapping = repo_mapping ,
27
- )
18
+ rules_foreign_cc_dependencies ()
28
19
29
20
# Get the latest texinfo version. 'binutils' doesn't compile
30
21
# without this binary.
Original file line number Diff line number Diff line change 11
11
12
12
load ("@bazel_tools//tools/build_defs/repo:git.bzl" , "git_repository" , "new_git_repository" )
13
13
load ("@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" )
14
+ load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
14
15
15
16
def repos (external = True , repo_mapping = {}):
16
17
maybe (
@@ -30,3 +31,12 @@ def repos(external = True, repo_mapping = {}):
30
31
commit = "69449957a41619e9b8b8be2e9bfaca2ac0642760" ,
31
32
shallow_since = "1658132015 +0300" ,
32
33
)
34
+
35
+ maybe (
36
+ http_archive ,
37
+ name = "rules_foreign_cc" ,
38
+ url = "https://github.com/bazelbuild/rules_foreign_cc/archive/refs/tags/0.9.0.tar.gz" ,
39
+ sha256 = "2a4d07cd64b0719b39a7c12218a3e507672b82a97b98c6a89d38565894cf7c51" ,
40
+ strip_prefix = "rules_foreign_cc-0.9.0" ,
41
+ repo_mapping = repo_mapping ,
42
+ )
You can’t perform that action at this time.
0 commit comments