Skip to content

Commit

Permalink
Merge branch 'bazelbuild:main' into active-03-additional-defines
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyma2 authored Dec 21, 2023
2 parents e02ff61 + eaa1b45 commit 2f85464
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bazelci/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ tasks:
build_targets:
- "//distro:distro"
- "//distro:relnotes"
- "//doc_build:*"
# - "//doc_build:*" Temporary disable
lts_windows:
name: lts_windows
<<: *windows
Expand Down
9 changes: 5 additions & 4 deletions examples/naming_package_files/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ module(
version = "0.0.1",
)

local_path_override(
module_name = "rules_pkg",
path = "../..",
)
# Temporarilly using WORKSPACE.bzlmod until CI switches to bazel past 7.0.0
#local_path_override(
# module_name = "rules_pkg",
# path = "../..",
#)

bazel_dep(name = "rules_cc", version = "0.0.2")
8 changes: 8 additions & 0 deletions examples/naming_package_files/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
local_repository(
name = "rules_pkg",
path = "../..",
)

load("@rules_pkg//pkg:deps.bzl", "rules_pkg_dependencies")

rules_pkg_dependencies()
1 change: 1 addition & 0 deletions pkg/make_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ def CallRpmBuild(self, dirname, rpmbuild_args):
args += [
'--define', '_topdir %s' % dirname,
'--define', '_tmppath %s/TMP' % dirname,
'--define', '_builddir %s/BUILD' % dirname,
'--bb',
'--buildroot=%s' % buildroot,
] # yapf: disable
Expand Down

0 comments on commit 2f85464

Please sign in to comment.