Skip to content

Commit 6b63492

Browse files
authored
Merge pull request #15699 from github/criemen/bazel7-2
Upgrade to bazel 7.0.2.
2 parents 72f7355 + d2e6746 commit 6b63492

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.5.0
1+
7.0.2

swift/extractor/config/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ load("//swift:rules.bzl", "swift_cc_library")
22

33
swift_cc_library(
44
name = "config",
5-
srcs = glob(["*.cpp"]),
5+
srcs = [],
66
hdrs = glob(["*.h"]),
77
visibility = ["//swift:__subpackages__"],
88
)

swift/third_party/BUILD.swift-llvm-support.bazel

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix")
2-
31
cc_library(
42
name = "swift-llvm-support",
5-
srcs = glob([
6-
"*.a",
7-
"*.so",
8-
"*.dylib",
9-
]),
3+
srcs = glob(
4+
[
5+
"*.a",
6+
"*.so",
7+
"*.dylib",
8+
],
9+
allow_empty = True, # Either *.so or *.dylib will be empty
10+
),
1011
hdrs = glob([
1112
"include/**/*",
1213
"stdlib/**/*",

0 commit comments

Comments
 (0)