Skip to content

Commit

Permalink
chore(deps): update dependency rules_foreign_cc to v0.13.0 (#420)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rules_foreign_cc | bazel_dep | minor | `0.12.0` -> `0.13.0` |
|
[rules_foreign_cc](https://redirect.github.com/bazelbuild/rules_foreign_cc)
| http_archive | minor | `0.12.0` -> `0.13.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_foreign_cc (rules_foreign_cc)</summary>

###
[`v0.13.0`](https://redirect.github.com/bazel-contrib/rules_foreign_cc/releases/tag/0.13.0)

[Compare
Source](https://redirect.github.com/bazelbuild/rules_foreign_cc/compare/0.12.0...0.13.0)

#### Using Bzlmod with Bazel 6

1.  Enable with `common --enable_bzlmod` in `.bazelrc`.
2.  Add to your `MODULE.bazel` file:

```starlark
bazel_dep(name = "rules_foreign_cc", version = "0.13.0")
```

#### Using WORKSPACE

Paste this snippet into your `WORKSPACE.bazel` file:

```starlark
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_foreign_cc",
    sha256 = "8e5605dc2d16a4229cb8fbe398514b10528553ed4f5f7737b663fdd92f48e1c2",
    strip_prefix = "rules_foreign_cc-0.13.0",
    url = "https://github.com/bazel-contrib/rules_foreign_cc/releases/download/0.13.0/rules_foreign_cc-0.13.0.tar.gz",
)

load("@&#8203;rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")

### This sets up some common toolchains for building targets. For more details, please see
### https://bazelbuild.github.io/rules_foreign_cc/0.13.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
```

#### What's Changed

- Remove dependencies on rules_cc by
[@&#8203;jsharpe](https://redirect.github.com/jsharpe) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1269](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1269)
- Bump APR version to 1.7.5. Make CI/CD green again. by
[@&#8203;dmitry-j-mikhin](https://redirect.github.com/dmitry-j-mikhin)
in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1273](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1273)
- Fix for
[#&#8203;1239](https://redirect.github.com/bazelbuild/rules_foreign_cc/issues/1239)
by
[@&#8203;dmitry-j-mikhin](https://redirect.github.com/dmitry-j-mikhin)
in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1264](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1264)
- runnable_binary: avoid using > on the output file by
[@&#8203;novas0x2a](https://redirect.github.com/novas0x2a) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1270](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1270)
- Bazel CI config: explicitly enable workspace wherever Bzlmod is
disabled by [@&#8203;Wyverald](https://redirect.github.com/Wyverald) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1276](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1276)
- Support location expansion and make variable substitution in CMake
cache entries by
[@&#8203;allsey87](https://redirect.github.com/allsey87) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1272](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1272)
- Fix for
[#&#8203;1271](https://redirect.github.com/bazelbuild/rules_foreign_cc/issues/1271),
set_file_prefix_map attribute by
[@&#8203;aaron-michaux](https://redirect.github.com/aaron-michaux) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1288](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1288)
- add foreign_cc deps to cmake prefix path by
[@&#8203;matt-sm](https://redirect.github.com/matt-sm) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1311](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1311)
- fix undefined variables in the wrap_outputs script by
[@&#8203;novas0x2a](https://redirect.github.com/novas0x2a) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1278](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1278)
- Fix documentation link in README.md by
[@&#8203;bradneuman](https://redirect.github.com/bradneuman) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1301](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1301)
- fix: builds using preinstalled_make no longer break during pkgconfig
by [@&#8203;voxeljorge](https://redirect.github.com/voxeljorge) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1307](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1307)
- correct overeager slash conversion on windows by
[@&#8203;novas0x2a](https://redirect.github.com/novas0x2a) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1285](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1285)
- feat: force GH Linguist syntax highlight by
[@&#8203;jjmaestro](https://redirect.github.com/jjmaestro) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1312](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1312)
- Remove deprecated use of incompatible_use_toolchain_transition by
[@&#8203;EdSchouten](https://redirect.github.com/EdSchouten) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1314](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1314)
- fix: move all bazelbuild links to bazel-contrib by
[@&#8203;jjmaestro](https://redirect.github.com/jjmaestro) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1315](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1315)
- fix: move more bazelbuild links to bazel-contrib by
[@&#8203;jjmaestro](https://redirect.github.com/jjmaestro) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1317](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1317)
- fix: docs pages by
[@&#8203;jjmaestro](https://redirect.github.com/jjmaestro) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1316](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1316)
- fix: let 'toolchain' attr be selectable by
[@&#8203;jsun-splunk](https://redirect.github.com/jsun-splunk) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1321](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1321)
- feat: configurable ldflags by
[@&#8203;jsun-splunk](https://redirect.github.com/jsun-splunk) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1226](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1226)
- msvc: fix make var for windows deps by
[@&#8203;jsun-splunk](https://redirect.github.com/jsun-splunk) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1324](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1324)
- fix: doc pages (take 2!) by
[@&#8203;jjmaestro](https://redirect.github.com/jjmaestro) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1327](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1327)
- fix(cmake): make sure link flags are propagated to module library
builds by
[@&#8203;jungleraptor](https://redirect.github.com/jungleraptor) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1308](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1308)
- chore: more precommit hooks by
[@&#8203;jjmaestro](https://redirect.github.com/jjmaestro) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1325](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1325)
- chore: Update cmake versions by
[@&#8203;jsharpe](https://redirect.github.com/jsharpe) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1331](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1331)
- Add dependency on rules_shell by
[@&#8203;jsharpe](https://redirect.github.com/jsharpe) in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1337](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1337)

#### New Contributors

- [@&#8203;dmitry-j-mikhin](https://redirect.github.com/dmitry-j-mikhin)
made their first contribution in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1273](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1273)
- [@&#8203;Wyverald](https://redirect.github.com/Wyverald) made their
first contribution in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1276](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1276)
- [@&#8203;aaron-michaux](https://redirect.github.com/aaron-michaux)
made their first contribution in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1288](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1288)
- [@&#8203;bradneuman](https://redirect.github.com/bradneuman) made
their first contribution in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1301](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1301)
- [@&#8203;voxeljorge](https://redirect.github.com/voxeljorge) made
their first contribution in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1307](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1307)
- [@&#8203;jjmaestro](https://redirect.github.com/jjmaestro) made their
first contribution in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1312](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1312)
- [@&#8203;EdSchouten](https://redirect.github.com/EdSchouten) made
their first contribution in
[https://github.com/bazel-contrib/rules_foreign_cc/pull/1314](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1314)

**Full Changelog**:
bazel-contrib/rules_foreign_cc@0.12.0...0.13.0

</details>

---

### 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 is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 7, 2024
1 parent 646ae70 commit 0aa1ffd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_go", version = "0.50.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_rust", version = "0.54.1")
bazel_dep(name = "rules_foreign_cc", version = "0.12.0")
bazel_dep(name = "rules_foreign_cc", version = "0.13.0")
bazel_dep(name = "abseil-cpp", version = "20240722.0", repo_name = "com_google_absl")

# As a workaround for https://github.com/bazelbuild/rules_foreign_cc/issues/1018.
Expand Down
6 changes: 3 additions & 3 deletions tests/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ rust_register_toolchains()

http_archive(
name = "rules_foreign_cc",
sha256 = "a2e6fb56e649c1ee79703e99aa0c9d13c6cc53c8d7a0cbb8797ab2888bbc99a3",
strip_prefix = "rules_foreign_cc-0.12.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.12.0.tar.gz",
sha256 = "8e5605dc2d16a4229cb8fbe398514b10528553ed4f5f7737b663fdd92f48e1c2",
strip_prefix = "rules_foreign_cc-0.13.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.13.0.tar.gz",
)

load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
Expand Down

0 comments on commit 0aa1ffd

Please sign in to comment.