Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency with_cfg.bzl to v0.4.0 #190

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 24, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
with_cfg.bzl bazel_dep minor 0.3.0 -> 0.4.0
with_cfg.bzl http_archive minor v0.3.0 -> v0.4.0

Release Notes

fmeum/with_cfg.bzl (with_cfg.bzl)

v0.4.0

Compare Source

What's Changed

  • BREAKING CHANGE: Modify path layout to fix relative RPATH lookups by @​fmeum in https://github.com/fmeum/with_cfg.bzl/pull/104
    The paths of executable files generated by transitioned executable targets have changed and now include an additional segment named after the rule. This means that hardcoded runfiles paths need to be updated, e.g. from my_repo/some/pkg/bin.exe to my_repo/some/pkg/bin/bin.exe. This change is necessary to fix issues with shared library dependencies (see https://github.com/fmeum/with_cfg.bzl/issues/85). You can opt out of this change temporarily via --no@with_cfg.bzl//:incompatible_same_depth_path_layout. It is usually recommended to avoid hardcoding runfiles paths of generated files - instead, rely on $(rlocationpath ...).

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "with_cfg.bzl", version = "0.4.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "with_cfg.bzl",
    sha256 = "c8a28c2bc635270c5ca76e47fa5dd75a0ab3cd76e9fb837a76b8006a5a92a7a6",
    strip_prefix = "with_cfg.bzl-0.4.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.4.0/with_cfg.bzl-v0.4.0.tar.gz",
)

Full Changelog: fmeum/with_cfg.bzl@v0.3.0...v0.4.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@lalten lalten merged commit 4b36758 into main Jul 24, 2024
10 checks passed
@lalten lalten deleted the renovate/with_cfg.bzl-0.x branch July 24, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant