Commit Graph

382 Commits

Author SHA1 Message Date
renovate[bot] 4d8600f9d1
Update dependency rules_rust to v0.45.0 (#329)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | minor | `0.44.0` -> `0.45.0` |

---

### Release Notes

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

###
[`v0.45.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.45.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.44.0...0.45.0)

### 0.45.0

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-0IoZbO7cp5obgv01ucsnAjrWdGpBasntBusUXtdj1aY=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.45.0/rules_rust-v0.45.0.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

- Fix cc_common_link when using sibling repository layout by
[@&#8203;yuzhy8701](https://togithub.com/yuzhy8701) in
[https://github.com/bazelbuild/rules_rust/pull/2643](https://togithub.com/bazelbuild/rules_rust/pull/2643)
- Allow runfiles object to be an arbitrary expression. by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/rules_rust/pull/2651](https://togithub.com/bazelbuild/rules_rust/pull/2651)
- Allow searching for the rlocation of a module. by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/rules_rust/pull/2652](https://togithub.com/bazelbuild/rules_rust/pull/2652)
- Add support for generated sources to rust-analyzer. by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/rules_rust/pull/2654](https://togithub.com/bazelbuild/rules_rust/pull/2654)
- Added logging to crate_universe checksum validation by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2657](https://togithub.com/bazelbuild/rules_rust/pull/2657)
- Release 0.45.0 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2658](https://togithub.com/bazelbuild/rules_rust/pull/2658)

#### New Contributors

- [@&#8203;yuzhy8701](https://togithub.com/yuzhy8701) made their first
contribution in
[https://github.com/bazelbuild/rules_rust/pull/2643](https://togithub.com/bazelbuild/rules_rust/pull/2643)

**Full Changelog**:
https://github.com/bazelbuild/rules_rust/compare/0.44.0...0.45.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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 16:49:13 +00:00
renovate[bot] 05a2a8b2d3
Update dependency rules_rust to v0.44.0 (#328)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rules_rust | bazel_dep | minor | `0.42.1` -> `0.44.0` |
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | minor | `0.43.0` -> `0.44.0` |

---

### Release Notes

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

###
[`v0.44.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.44.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.43.0...0.44.0)

##### 0.44.0

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-pt9MIrs/tDVzpMQIjvbQ+v44oOzQ+FrSH/2IiAAzcDA=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.44.0/rules_rust-v0.44.0.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

##### What's Changed

- Add target for running rustfmt directly by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2648](https://togithub.com/bazelbuild/rules_rust/pull/2648)
- Release 0.44.0 by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2649](https://togithub.com/bazelbuild/rules_rust/pull/2649)

**Full Changelog**:
https://github.com/bazelbuild/rules_rust/compare/0.43.0...0.44.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 becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 23:14:01 +00:00
renovate[bot] f5ed891ae6
Update dependency rules_rust to v0.43.0 (#326)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | minor | `0.42.1` -> `0.43.0` |

---

### Release Notes

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

###
[`v0.43.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.43.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.42.1...0.43.0)

### 0.43.0

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-SnzocNvQp1YK1TW/aUVhR6RSROo1l2RilE1V20WFnK0=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.43.0/rules_rust-v0.43.0.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

- Bzlmod-aware runfiles library by
[@&#8203;dzbarsky](https://togithub.com/dzbarsky) in
[https://github.com/bazelbuild/rules_rust/pull/2566](https://togithub.com/bazelbuild/rules_rust/pull/2566)
- Add clippy_flag flag to allow flags to be added in succession. by
[@&#8203;granaghan](https://togithub.com/granaghan) in
[https://github.com/bazelbuild/rules_rust/pull/2625](https://togithub.com/bazelbuild/rules_rust/pull/2625)
- Add aspect_rules_js to MODULE.bazel by
[@&#8203;dzbarsky](https://togithub.com/dzbarsky) in
[https://github.com/bazelbuild/rules_rust/pull/2618](https://togithub.com/bazelbuild/rules_rust/pull/2618)
- Register a default rust toolchain. by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/rules_rust/pull/2624](https://togithub.com/bazelbuild/rules_rust/pull/2624)
- Nit: Fix link to example in rust_bindgen.md by
[@&#8203;hauserx](https://togithub.com/hauserx) in
[https://github.com/bazelbuild/rules_rust/pull/2628](https://togithub.com/bazelbuild/rules_rust/pull/2628)
- Add context to error messages by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2408](https://togithub.com/bazelbuild/rules_rust/pull/2408)
- Update `cargo_bootstrap_repository` interface to match dependency
macros by [@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2630](https://togithub.com/bazelbuild/rules_rust/pull/2630)
- Added debug logging for spliced manifests to crate_universe by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2629](https://togithub.com/bazelbuild/rules_rust/pull/2629)
- also rewrite -isystem in addition to -sysroot by
[@&#8203;adrianimboden](https://togithub.com/adrianimboden) in
[https://github.com/bazelbuild/rules_rust/pull/2631](https://togithub.com/bazelbuild/rules_rust/pull/2631)
- Support loading http credentials from netrc by
[@&#8203;golovasteek](https://togithub.com/golovasteek) in
[https://github.com/bazelbuild/rules_rust/pull/2623](https://togithub.com/bazelbuild/rules_rust/pull/2623)
- Updated Buildifier version for crate_universe by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2634](https://togithub.com/bazelbuild/rules_rust/pull/2634)
- Follow-up documentation/fixes to lockfile API by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2637](https://togithub.com/bazelbuild/rules_rust/pull/2637)
- Add docs and examples of complicated build scripts by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2635](https://togithub.com/bazelbuild/rules_rust/pull/2635)
- Added Rust 1.78.0 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2639](https://togithub.com/bazelbuild/rules_rust/pull/2639)
- Remove `incompatible_test_attr_crate_and_srcs_mutually_exclusive` by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2641](https://togithub.com/bazelbuild/rules_rust/pull/2641)
- Minor cleanup for crate_universe by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2644](https://togithub.com/bazelbuild/rules_rust/pull/2644)
- Use `cargo tree` to determine feature dependent optional deps by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2636](https://togithub.com/bazelbuild/rules_rust/pull/2636)
- Release 0.43.0 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2642](https://togithub.com/bazelbuild/rules_rust/pull/2642)
- Update cross to fix crate_universe builds in releases by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2645](https://togithub.com/bazelbuild/rules_rust/pull/2645)

#### New Contributors

- [@&#8203;hauserx](https://togithub.com/hauserx) made their first
contribution in
[https://github.com/bazelbuild/rules_rust/pull/2628](https://togithub.com/bazelbuild/rules_rust/pull/2628)
- [@&#8203;adrianimboden](https://togithub.com/adrianimboden) made their
first contribution in
[https://github.com/bazelbuild/rules_rust/pull/2631](https://togithub.com/bazelbuild/rules_rust/pull/2631)
- [@&#8203;golovasteek](https://togithub.com/golovasteek) made their
first contribution in
[https://github.com/bazelbuild/rules_rust/pull/2623](https://togithub.com/bazelbuild/rules_rust/pull/2623)

**Full Changelog**:
https://github.com/bazelbuild/rules_rust/compare/0.42.1...0.43.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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 11:50:13 -07:00
Laurenz 7e0873613c
Add 18.1.3, 18.1.4, 18.1.5 downloads (#325)
After https://github.com/llvm/llvm-project/pull/88425 seems to have been
resolved there is an `x86_64-linux-gnu-ubuntu` release for llvm 18.1.4
🎉
2024-05-08 14:21:30 -07:00
renovate[bot] f0a43a598b
Update dependency bazel_skylib to v1.6.1 (#318)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| bazel_skylib | bazel_dep | minor | `1.5.0` -> `1.6.1` |
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.5.0` -> `1.6.1` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.6.1`](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.0...1.6.1)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.0...1.6.1)

###
[`v1.6.0`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.6.0)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.5.0...1.6.0)

Release 1.6.0

#### What's Changed

- Add helper functions for module extensions as `modules` by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/bazel-skylib/pull/457](https://togithub.com/bazelbuild/bazel-skylib/pull/457)
- Make `out` on `native_binary` optional by
[@&#8203;tpudlik](https://togithub.com/tpudlik) in
[https://github.com/bazelbuild/bazel-skylib/pull/474](https://togithub.com/bazelbuild/bazel-skylib/pull/474)
- Remove outdated rules_cc dependency
[@&#8203;cpsauer](https://togithub.com/cpsauer) in
[https://github.com/bazelbuild/bazel-skylib/pull/476](https://togithub.com/bazelbuild/bazel-skylib/pull/476)
- Add toolchains argument to unittests.make by
[@&#8203;jylinv0](https://togithub.com/jylinv0) in
[https://github.com/bazelbuild/bazel-skylib/pull/483](https://togithub.com/bazelbuild/bazel-skylib/pull/483)
- Allow `bzl_library` to depend on non-`bzl_library` targets by
[@&#8203;Wyverald](https://togithub.com/Wyverald) in
[https://github.com/bazelbuild/bazel-skylib/pull/495](https://togithub.com/bazelbuild/bazel-skylib/pull/495)

#### New Contributors

- [@&#8203;jylinv0](https://togithub.com/jylinv0) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/483](https://togithub.com/bazelbuild/bazel-skylib/pull/483)
- [@&#8203;tpudlik](https://togithub.com/tpudlik) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/474](https://togithub.com/bazelbuild/bazel-skylib/pull/474)

**Full Changelog**:
https://github.com/bazelbuild/bazel-skylib/compare/1.5.0...1.6.0

<!--## MODULE.bazel setup

```starlark
bazel_dep(name = "bazel_skylib", version = "1.6.0")

### If the Gazelle plugin is needed:
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.6.0", dev_dependency = True)
```-->

#### WORKSPACE setup

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "bazel_skylib",
sha256 =
"41449d7c7372d2e270e8504dfab09ee974325b0b40fdd98172c7fbe257b8bcc9"
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-1.6.0.tar.gz",

"https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-1.6.0.tar.gz",
        ],
    )

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

    bazel_skylib_workspace()

***Additional WORKSPACE setup for the Gazelle plugin***

```starlark
http_archive(
    name = "bazel_skylib_gazelle_plugin",
    sha256 = "8700f9204f3b0a32851cdf56c63b8d8d4fcf93b96707c590d1de8d84cf07ee7d",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-gazelle-plugin-1.6.0.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-gazelle-plugin-1.6.0.tar.gz",
    ],
)

load("@&#8203;bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@&#8203;bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup")

bazel_skylib_gazelle_plugin_setup()
```

**Using the rules**

See [the
source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.6.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 becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 21:34:40 +00:00
renovate[bot] d8e0cf88d6
Update dependency io_bazel_rules_go to v0.47.1 (#322)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) |
http_archive | patch | `v0.47.0` -> `v0.47.1` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_go (io_bazel_rules_go)</summary>

###
[`v0.47.1`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.1)

[Compare
Source](https://togithub.com/bazelbuild/rules_go/compare/v0.47.0...v0.47.1)

#### `WORKSPACE` code

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"f74c98d6df55217a36859c74b460e774abc0410a47cc100d822be34d5f990f16",
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip",

"https://github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip",
        ],
    )

load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains",
"go_rules_dependencies")

    go_rules_dependencies()

    go_register_toolchains(version = "1.22.2")

#### What's Changed

- bzltestutil: restore timeout signal handler by
[@&#8203;sluongng](https://togithub.com/sluongng) in
[https://github.com/bazelbuild/rules_go/pull/3929](https://togithub.com/bazelbuild/rules_go/pull/3929)
- feat: support syso files in srcs. by
[@&#8203;connyay](https://togithub.com/connyay) in
[https://github.com/bazelbuild/rules_go/pull/3763](https://togithub.com/bazelbuild/rules_go/pull/3763)
- prepare patch release 0.47.1 by
[@&#8203;tyler-french](https://togithub.com/tyler-french) in
[https://github.com/bazelbuild/rules_go/pull/3933](https://togithub.com/bazelbuild/rules_go/pull/3933)

#### New Contributors

- [@&#8203;connyay](https://togithub.com/connyay) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3763](https://togithub.com/bazelbuild/rules_go/pull/3763)

**Full Changelog**:
https://github.com/bazelbuild/rules_go/compare/v0.47.0...v0.47.1

</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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 21:18:36 +00:00
renovate[bot] 3737fb695f
Update dependency rules_go to v0.47.1 (#323)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rules_go | bazel_dep | patch | `0.47.0` -> `0.47.1` |

---

### 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 this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 14:01:53 -07:00
Jake Zimmerman ea59b5c6d5
Add two more aliased tools (#321)
- `clangd` because it's convenient to be able to configure a language
client to use the matching version of clangd that the project is
compiled with
- `llvm-symbolizer` because it's also convenient
2024-05-04 10:26:34 +02:00
renovate[bot] 767825efd3
Update dependency rules_go to v0.47.0 (#317) 2024-05-02 15:39:18 +00:00
renovate[bot] b0638af73d
Update dependency io_bazel_rules_go to v0.47.0 (#316)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) |
http_archive | minor | `v0.46.0` -> `v0.47.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_go (io_bazel_rules_go)</summary>

###
[`v0.47.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0)

#### `WORKSPACE` code

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"af47f30e9cbd70ae34e49866e201b3f77069abb111183f2c0297e7e74ba6bbc0",
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip",

"https://github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip",
        ],
    )

load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains",
"go_rules_dependencies")

    go_rules_dependencies()

    go_register_toolchains(version = "1.22.2")

#### What's Changed

- Add Bazel version matrix to BCR `presubmit.yml` by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3861](https://togithub.com/bazelbuild/rules_go/pull/3861)
- Update toolchains_llvm URL and hash by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3864](https://togithub.com/bazelbuild/rules_go/pull/3864)
- pass correct (non `"main"`) importpath to nogo for `main` package by
[@&#8203;Strum355](https://togithub.com/Strum355) in
[https://github.com/bazelbuild/rules_go/pull/3863](https://togithub.com/bazelbuild/rules_go/pull/3863)
- Make exec cfg check for `//go` stricter by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3867](https://togithub.com/bazelbuild/rules_go/pull/3867)
- Fixes the Bazel CI error by
[@&#8203;sgowroji](https://togithub.com/sgowroji) in
[https://github.com/bazelbuild/rules_go/pull/3869](https://togithub.com/bazelbuild/rules_go/pull/3869)
- \[go_library] add .x file to declared output files in DefaultInfo by
[@&#8203;tyler-french](https://togithub.com/tyler-french) in
[https://github.com/bazelbuild/rules_go/pull/3866](https://togithub.com/bazelbuild/rules_go/pull/3866)
- Remove Latin-1 workaround on Bazel 6.4.0+ by
[@&#8203;mattyclarkson](https://togithub.com/mattyclarkson) in
[https://github.com/bazelbuild/rules_go/pull/3872](https://togithub.com/bazelbuild/rules_go/pull/3872)
- fix sdk download for common execution platforms by
[@&#8203;scaiper](https://togithub.com/scaiper) in
[https://github.com/bazelbuild/rules_go/pull/3874](https://togithub.com/bazelbuild/rules_go/pull/3874)
- Bump Go version to 1.21.8 by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3880](https://togithub.com/bazelbuild/rules_go/pull/3880)
- Update README.rst to point to correct GH release tags by
[@&#8203;dcarney](https://togithub.com/dcarney) in
[https://github.com/bazelbuild/rules_go/pull/3881](https://togithub.com/bazelbuild/rules_go/pull/3881)
- Update bzlmod.md fix typo by
[@&#8203;mmrath](https://togithub.com/mmrath) in
[https://github.com/bazelbuild/rules_go/pull/3882](https://togithub.com/bazelbuild/rules_go/pull/3882)
- Cleanup temp dirs in GoToolchainBinaryBuild by
[@&#8203;hauserx](https://togithub.com/hauserx) in
[https://github.com/bazelbuild/rules_go/pull/3885](https://togithub.com/bazelbuild/rules_go/pull/3885)
- gopackagesdriver: move and simplify test by
[@&#8203;jayconrod](https://togithub.com/jayconrod) in
[https://github.com/bazelbuild/rules_go/pull/3856](https://togithub.com/bazelbuild/rules_go/pull/3856)
- Support Go version schema change since 1.21 by
[@&#8203;baizhenyu](https://togithub.com/baizhenyu) in
[https://github.com/bazelbuild/rules_go/pull/3891](https://togithub.com/bazelbuild/rules_go/pull/3891)
- gopackagesdriver: fix version check with Bazel development versions by
[@&#8203;jayconrod](https://togithub.com/jayconrod) in
[https://github.com/bazelbuild/rules_go/pull/3893](https://togithub.com/bazelbuild/rules_go/pull/3893)
- Revert "improving logging for subcommand failure
([#&#8203;3824](https://togithub.com/bazelbuild/rules_go/issues/3824))"
by [@&#8203;linzhp](https://togithub.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3892](https://togithub.com/bazelbuild/rules_go/pull/3892)
- Replace instances of to_json() method with json.encode(..) by
[@&#8203;c-mita](https://togithub.com/c-mita) in
[https://github.com/bazelbuild/rules_go/pull/3896](https://togithub.com/bazelbuild/rules_go/pull/3896)
- add nogo parsing support for nogo explanations by
[@&#8203;andyscott](https://togithub.com/andyscott) in
[https://github.com/bazelbuild/rules_go/pull/3899](https://togithub.com/bazelbuild/rules_go/pull/3899)
- \[nogo] match regexp againts relative paths by
[@&#8203;scaiper](https://togithub.com/scaiper) in
[https://github.com/bazelbuild/rules_go/pull/3898](https://togithub.com/bazelbuild/rules_go/pull/3898)
- Add `bazel_features` transitive `.bzl`s to `bzl_library` targets by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3903](https://togithub.com/bazelbuild/rules_go/pull/3903)
- Add //go/private:polyfill_bazel_features.bzl to sources. by
[@&#8203;spags-lacework](https://togithub.com/spags-lacework) in
[https://github.com/bazelbuild/rules_go/pull/3908](https://togithub.com/bazelbuild/rules_go/pull/3908)
- Reformat with buildifier by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3910](https://togithub.com/bazelbuild/rules_go/pull/3910)
- GoLink action. Use -extar <ar path> if cc_toolchain provides ar path
by [@&#8203;OparinE](https://togithub.com/OparinE) in
[https://github.com/bazelbuild/rules_go/pull/3916](https://togithub.com/bazelbuild/rules_go/pull/3916)
- Mark `go_sdk` extension as `reproducible` by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3911](https://togithub.com/bazelbuild/rules_go/pull/3911)
- Don't ignore the return value of runfiles.merge_all() by
[@&#8203;EdSchouten](https://togithub.com/EdSchouten) in
[https://github.com/bazelbuild/rules_go/pull/3918](https://togithub.com/bazelbuild/rules_go/pull/3918)
- Use Gazelle's `go_env` in `@rules_go//go` by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3909](https://togithub.com/bazelbuild/rules_go/pull/3909)
- Setting test.timeout according to TEST_TIMEOUT by
[@&#8203;linzhp](https://togithub.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3920](https://togithub.com/bazelbuild/rules_go/pull/3920)
- prepare rules_go v 0.47 by
[@&#8203;tyler-french](https://togithub.com/tyler-french) in
[https://github.com/bazelbuild/rules_go/pull/3923](https://togithub.com/bazelbuild/rules_go/pull/3923)

#### New Contributors

- [@&#8203;Strum355](https://togithub.com/Strum355) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3863](https://togithub.com/bazelbuild/rules_go/pull/3863)
- [@&#8203;sgowroji](https://togithub.com/sgowroji) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3869](https://togithub.com/bazelbuild/rules_go/pull/3869)
- [@&#8203;mattyclarkson](https://togithub.com/mattyclarkson) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3872](https://togithub.com/bazelbuild/rules_go/pull/3872)
- [@&#8203;scaiper](https://togithub.com/scaiper) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3874](https://togithub.com/bazelbuild/rules_go/pull/3874)
- [@&#8203;dcarney](https://togithub.com/dcarney) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3881](https://togithub.com/bazelbuild/rules_go/pull/3881)
- [@&#8203;mmrath](https://togithub.com/mmrath) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3882](https://togithub.com/bazelbuild/rules_go/pull/3882)
- [@&#8203;hauserx](https://togithub.com/hauserx) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3885](https://togithub.com/bazelbuild/rules_go/pull/3885)
- [@&#8203;baizhenyu](https://togithub.com/baizhenyu) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3891](https://togithub.com/bazelbuild/rules_go/pull/3891)
- [@&#8203;c-mita](https://togithub.com/c-mita) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3896](https://togithub.com/bazelbuild/rules_go/pull/3896)
- [@&#8203;spags-lacework](https://togithub.com/spags-lacework) made
their first contribution in
[https://github.com/bazelbuild/rules_go/pull/3908](https://togithub.com/bazelbuild/rules_go/pull/3908)
- [@&#8203;OparinE](https://togithub.com/OparinE) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3916](https://togithub.com/bazelbuild/rules_go/pull/3916)

**Full Changelog**:
https://github.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 15:23:10 +00:00
renovate[bot] 78428482be
Update dependency platforms to v0.0.10 (#319)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| platforms | bazel_dep | patch | `0.0.9` -> `0.0.10` |

---

### 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 this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 15:04:05 +00:00
Fabian Meumertzheim 1cc30fdadb
Fix CI by switching back to x86 Mac runners (#320) 2024-05-02 16:48:38 +02:00
renovate[bot] 2f58ae4a90
Update dependency rules_rust to v0.42.1 (#315)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rules_rust | bazel_dep | minor | `0.41.1` -> `0.42.1` |

---

### 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 this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 15:26:52 +02:00
renovate[bot] d5ffaba8da
Update dependency rules_rust to v0.42.1 (#314)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | patch | `0.42.0` -> `0.42.1` |

---

### Release Notes

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

###
[`v0.42.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.42.1)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.42.0...0.42.1)

### 0.42.1

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-JLN47ZcAbx9wEr5Jiib4HduZATGLiDgK7oUi/fvotzU=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.42.1/rules_rust-v0.42.1.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

- Fix rust module extension for Bazel pre-7.1 by
[@&#8203;cameron-martin](https://togithub.com/cameron-martin) in
[https://github.com/bazelbuild/rules_rust/pull/2612](https://togithub.com/bazelbuild/rules_rust/pull/2612)
- Test BCR example in minimum bazel by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2613](https://togithub.com/bazelbuild/rules_rust/pull/2613)
- Release 0.42.1 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2614](https://togithub.com/bazelbuild/rules_rust/pull/2614)

**Full Changelog**:
https://github.com/bazelbuild/rules_rust/compare/0.42.0...0.42.1

</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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 12:08:45 -07:00
Keith Smiley 3e94f956b6
Fix double slashes for sysroot = / (#312)
Ideally we could set the paths to `%sysroot%include` when we know that
`%sysroot%` ends with `/`, but bazel validates that the prefix is
actually `%sysroot%/` so we have to keep the extra slash.
2024-04-10 20:30:07 +02:00
renovate[bot] 3d9f02b1db
Update dependency rules_rust to v0.42.0 (#313)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | minor | `0.41.1` -> `0.42.0` |

---

### Release Notes

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

###
[`v0.42.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.42.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.41.1...0.42.0)

### 0.42.0

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-XT1YVJ6FHJTXBr1v3px2fV37/OCS3dQk3ul+XvfIIf8=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.42.0/rules_rust-v0.42.0.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

- Fix crates.io URL by
[@&#8203;ericmcbride](https://togithub.com/ericmcbride) in
[https://github.com/bazelbuild/rules_rust/pull/2597](https://togithub.com/bazelbuild/rules_rust/pull/2597)
- Add support for `--compile_one_dependency` by
[@&#8203;william-smith-skydio](https://togithub.com/william-smith-skydio)
in
[https://github.com/bazelbuild/rules_rust/pull/2598](https://togithub.com/bazelbuild/rules_rust/pull/2598)
- Update rules_apple by
[@&#8203;sgowroji](https://togithub.com/sgowroji) in
[https://github.com/bazelbuild/rules_rust/pull/2602](https://togithub.com/bazelbuild/rules_rust/pull/2602)
- Support building more things with bzlmod by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/rules_rust/pull/2601](https://togithub.com/bazelbuild/rules_rust/pull/2601)
- Make bazel lock file cross-platform by
[@&#8203;cameron-martin](https://togithub.com/cameron-martin) in
[https://github.com/bazelbuild/rules_rust/pull/2453](https://togithub.com/bazelbuild/rules_rust/pull/2453)
- Added Rust 1.77.1 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2591](https://togithub.com/bazelbuild/rules_rust/pull/2591)
- Fix (+) In vendored crates semver metadata by
[@&#8203;ericmcbride](https://togithub.com/ericmcbride) in
[https://github.com/bazelbuild/rules_rust/pull/2579](https://togithub.com/bazelbuild/rules_rust/pull/2579)
- Keep default_features parity from bzlmod to workspace by
[@&#8203;Lev1ty](https://togithub.com/Lev1ty) in
[https://github.com/bazelbuild/rules_rust/pull/2606](https://togithub.com/bazelbuild/rules_rust/pull/2606)
- clippy: use --cap-lints=warn; apply clippy_flags when
capture_output=True by [@&#8203;goffrie](https://togithub.com/goffrie)
in
[https://github.com/bazelbuild/rules_rust/pull/2451](https://togithub.com/bazelbuild/rules_rust/pull/2451)
- Added Rust 1.77.2 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2608](https://togithub.com/bazelbuild/rules_rust/pull/2608)
- Re-vendor crate_universe outputs by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2609](https://togithub.com/bazelbuild/rules_rust/pull/2609)
- Release 0.42.0 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2610](https://togithub.com/bazelbuild/rules_rust/pull/2610)

#### New Contributors

- [@&#8203;Lev1ty](https://togithub.com/Lev1ty) made their first
contribution in
[https://github.com/bazelbuild/rules_rust/pull/2606](https://togithub.com/bazelbuild/rules_rust/pull/2606)

**Full Changelog**:
https://github.com/bazelbuild/rules_rust/compare/0.41.1...0.42.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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 12:06:15 -05:00
Keith Smiley 0852bf51a7
Use paths.join for sysroot_prefix (#310)
If you specify `sysroot = "/"`, this resulted in paths like `//include`
which resulted in warnings like:

```
.../toolchains_llvm~~llvm~linux_llvm_17_x86_64_toolchain/module-x86_64-linux.modulemap:1249:14: warning: umbrella directory '//include' not found [-Wincomplete-umbrella]
```
2024-04-09 18:49:19 +02:00
Keith Smiley d79a746317
Update buildifier (#311)
This version removed some warnings in place of fixes
2024-04-09 18:13:02 +02:00
renovate[bot] 51945ecbe3
Update dependency abseil-cpp to v20240116.2 (#309)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| abseil-cpp | bazel_dep | minor | `20240116.1` -> `20240116.2` |

---

### 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 this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 22:26:35 -05:00
renovate[bot] 8f4842e8cb
Update dependency com_google_absl to v20240116.2 (#308)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com_google_absl](https://togithub.com/abseil/abseil-cpp) |
http_archive | minor | `20240116.1` -> `20240116.2` |

---

### Release Notes

<details>
<summary>abseil/abseil-cpp (com_google_absl)</summary>

###
[`v20240116.2`](https://togithub.com/abseil/abseil-cpp/releases/tag/20240116.2):
Abseil LTS branch, Jan 2024, Patch 2

[Compare
Source](https://togithub.com/abseil/abseil-cpp/compare/20240116.1...20240116.2)

### Abseil LTS
[`2024011`](https://togithub.com/abseil/abseil-cpp/commit/20240116).2

#### What's New:

- Added
[`absl::NoDestructor<T>`](https://togithub.com/abseil/abseil-cpp/blob/master/absl/base/no_destructor.h)
to simplify defining static types that do not need to be destructed upon
program exit.
- Added configurable verbose logging (also known as
[`VLOG`](10f3e6117b/absl/log/log.h (L225-L237))).
- Added
[`absl::Overload()`](https://togithub.com/abseil/abseil-cpp/blob/master/absl/functional/overload.h),
which returns a functor that provides overloads based on the functors
passed to it. Note that this functionality requires C++17 or newer.
- [Bzlmod](https://bazel.build/external/overview#bzlmod) is now
officially supported (previously it was supported by the community).
Note that it may take several days after the release for it to become
available in the [Bazel Central
Registry](https://registry.bazel.build/modules/abseil-cpp).

#### Breaking Changes:

- `AbslHashValue()` [no longer accepts C-style arrays as a
parameter](1415840502).
Previously the array would decay to a pointer type, which could lead to
subtle, unintended bugs. The most common potential error is passing a
C-string literal. After this change, these call-sites require wrapping
the literal in `absl::string_view`.
- `absl::weak_equality` and `absl::strong_equality` have been removed.
The corresponding `std` types were removed before C++20 was finalized
(https://wg21.link/P1959R0).

#### Known Issues

-   None known at this time.

Baseline:
[`10f3e61`](10f3e6117b)
Cherry pick:
[`4a2c633`](4a2c63365e)
Cherry pick:
[`3ab97e7`](3ab97e7212)
(Patch 1)
Cherry pick:
[`d7aaad8`](d7aaad83b4)
(Patch 2)

</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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 01:28:53 +02:00
Jochen Issing 96b5eee584
Add llvm-profdata for coverage data merging (#307)
To run coverage reports using llvm tooling, we need llvm-profdata to be
available, optimally from the original source in Bazel.
2024-04-04 10:34:10 -05:00
renovate[bot] fa52fee200
Update dependency rules_rust to v0.41.1 (#306)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rules_rust | bazel_dep | minor | `0.40.0` -> `0.41.1` |

---

### 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 this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 23:06:13 -07:00
renovate[bot] 63e1a96252
Update dependency rules_rust to v0.41.1 (#304)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | patch | `0.41.0` -> `0.41.1` |

---

### Release Notes

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

###
[`v0.41.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.41.1)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.41.0...0.41.1)

### 0.41.1

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-mUV3N2A8ORVVZbrm3O9yepAe/Kv4MD2ob9YQhB8aOI8=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.41.1/rules_rust-v0.41.1.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

- Add extra_rustc_flags_for_crate_types. by
[@&#8203;granaghan](https://togithub.com/granaghan) in
[https://github.com/bazelbuild/rules_rust/pull/2431](https://togithub.com/bazelbuild/rules_rust/pull/2431)
- Android jobs should be using LTS Bazel releases by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2589](https://togithub.com/bazelbuild/rules_rust/pull/2589)
- BUG-FIX: host-triple str for bzl mod by
[@&#8203;ericmcbride](https://togithub.com/ericmcbride) in
[https://github.com/bazelbuild/rules_rust/pull/2587](https://togithub.com/bazelbuild/rules_rust/pull/2587)
- fix(cargo-bazel): ignore example crates when checking if proc-macro by
[@&#8203;qtica](https://togithub.com/qtica) in
[https://github.com/bazelbuild/rules_rust/pull/2596](https://togithub.com/bazelbuild/rules_rust/pull/2596)
- Deprecated `rust_bindgen.leak_symbols` by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2590](https://togithub.com/bazelbuild/rules_rust/pull/2590)
- Update test metadata for crate_universe by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2599](https://togithub.com/bazelbuild/rules_rust/pull/2599)
- Fixed bug where crate_universe could match aliases to bench/example
deps by [@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2600](https://togithub.com/bazelbuild/rules_rust/pull/2600)
- Cleanup splicing utils by
[@&#8203;dzbarsky](https://togithub.com/dzbarsky) in
[https://github.com/bazelbuild/rules_rust/pull/2564](https://togithub.com/bazelbuild/rules_rust/pull/2564)
- Updated repository rules to notify users about non-reproducible repos.
by [@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2593](https://togithub.com/bazelbuild/rules_rust/pull/2593)
- feat: Strip debug info from opt builds by
[@&#8203;matte1](https://togithub.com/matte1) in
[https://github.com/bazelbuild/rules_rust/pull/2513](https://togithub.com/bazelbuild/rules_rust/pull/2513)
- Release 0.41.1 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2592](https://togithub.com/bazelbuild/rules_rust/pull/2592)

#### New Contributors

- [@&#8203;qtica](https://togithub.com/qtica) made their first
contribution in
[https://github.com/bazelbuild/rules_rust/pull/2596](https://togithub.com/bazelbuild/rules_rust/pull/2596)
- [@&#8203;matte1](https://togithub.com/matte1) made their first
contribution in
[https://github.com/bazelbuild/rules_rust/pull/2513](https://togithub.com/bazelbuild/rules_rust/pull/2513)

**Full Changelog**:
https://github.com/bazelbuild/rules_rust/compare/0.41.0...0.41.1

</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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 21:40:46 +02:00
renovate[bot] 42d0904fa9
Update dependency rules_rust to v0.41.0 (#303)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | minor | `0.40.0` -> `0.41.0` |

---

### Release Notes

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

###
[`v0.41.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.41.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.40.0...0.41.0)

### 0.41.0

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-Y4v6kjQQfXxh5tU6FQB6YXux/ODFGUq3IlpgBV4Bwj8=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.41.0/rules_rust-v0.41.0.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

- Add example of cross-compiling with musl by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2535](https://togithub.com/bazelbuild/rules_rust/pull/2535)
- Temporarily disable "Examples Clang with LLD" CI job by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2560](https://togithub.com/bazelbuild/rules_rust/pull/2560)
- Update cargo_toml to `0.19.2` by
[@&#8203;jun-sheaf](https://togithub.com/jun-sheaf) in
[https://github.com/bazelbuild/rules_rust/pull/2551](https://togithub.com/bazelbuild/rules_rust/pull/2551)
- Stop rustfmt versioning from overriding rust-analyzer versioning. by
[@&#8203;ReticentIris](https://togithub.com/ReticentIris) in
[https://github.com/bazelbuild/rules_rust/pull/2553](https://togithub.com/bazelbuild/rules_rust/pull/2553)
- Rust Analyzer added NixOS supported platforms by
[@&#8203;rickvanprim](https://togithub.com/rickvanprim) in
[https://github.com/bazelbuild/rules_rust/pull/2547](https://togithub.com/bazelbuild/rules_rust/pull/2547)
- Removed unused 'select_with_or' by
[@&#8203;dzbarsky](https://togithub.com/dzbarsky) in
[https://github.com/bazelbuild/rules_rust/pull/2562](https://togithub.com/bazelbuild/rules_rust/pull/2562)
- Added Rust 1.77.0 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2568](https://togithub.com/bazelbuild/rules_rust/pull/2568)
- bzlmod: fix issue with nightly versions by
[@&#8203;QuentinPerez](https://togithub.com/QuentinPerez) in
[https://github.com/bazelbuild/rules_rust/pull/2545](https://togithub.com/bazelbuild/rules_rust/pull/2545)
- Allow a no-cargo setup for bzlmod by
[@&#8203;dzbarsky](https://togithub.com/dzbarsky) in
[https://github.com/bazelbuild/rules_rust/pull/2565](https://togithub.com/bazelbuild/rules_rust/pull/2565)
- Fixed genquery for rust targets by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2559](https://togithub.com/bazelbuild/rules_rust/pull/2559)
- Fix cargo-bazel recompile for MODULE.bazel by
[@&#8203;ericmcbride](https://togithub.com/ericmcbride) in
[https://github.com/bazelbuild/rules_rust/pull/2570](https://togithub.com/bazelbuild/rules_rust/pull/2570)
- Minor cleanup of bzl files by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2573](https://togithub.com/bazelbuild/rules_rust/pull/2573)
- Added starlark unit tests for `rust_toolchain.opt_level` by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2578](https://togithub.com/bazelbuild/rules_rust/pull/2578)
- Mark the bzlmod extension reproducible as appropriate by
[@&#8203;dzbarsky](https://togithub.com/dzbarsky) in
[https://github.com/bazelbuild/rules_rust/pull/2575](https://togithub.com/bazelbuild/rules_rust/pull/2575)
- Release 0.41.0 by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/rules_rust/pull/2569](https://togithub.com/bazelbuild/rules_rust/pull/2569)

#### New Contributors

- [@&#8203;jun-sheaf](https://togithub.com/jun-sheaf) made their first
contribution in
[https://github.com/bazelbuild/rules_rust/pull/2551](https://togithub.com/bazelbuild/rules_rust/pull/2551)
- [@&#8203;ReticentIris](https://togithub.com/ReticentIris) made their
first contribution in
[https://github.com/bazelbuild/rules_rust/pull/2553](https://togithub.com/bazelbuild/rules_rust/pull/2553)
- [@&#8203;QuentinPerez](https://togithub.com/QuentinPerez) made their
first contribution in
[https://github.com/bazelbuild/rules_rust/pull/2545](https://togithub.com/bazelbuild/rules_rust/pull/2545)
- [@&#8203;ericmcbride](https://togithub.com/ericmcbride) made their
first contribution in
[https://github.com/bazelbuild/rules_rust/pull/2570](https://togithub.com/bazelbuild/rules_rust/pull/2570)

**Full Changelog**:
https://github.com/bazelbuild/rules_rust/compare/0.40.0...0.41.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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 17:43:43 +01:00
Nikolaus Wittenstein 95680bf7d2
Add LLVM 18 links (#302)
I ran `utils/llvm_checksums.sh -g -v` for 18.1.0, 18.1.1, and 18.1.2 and
pasted the results into the distributions file.

Co-authored-by: Nikolaus Wittenstein <niko@evaav.com>
2024-03-27 19:22:57 -07:00
renovate[bot] c5f221a3bd
Update dependency platforms to v0.0.9 (#300)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| platforms | bazel_dep | patch | `0.0.8` -> `0.0.9` |

---

### 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 this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 12:02:26 -07:00
Siddhartha Bagaria d261f39e4f
Revert accidental deletion (#299) 2024-03-17 09:41:47 +01:00
Siddhartha Bagaria aa779570ae
Also test docker exec test without bzlmod (#297) 2024-03-16 23:19:37 -07:00
Siddhartha Bagaria 6d25c3840a
Revert "Update compability_level in MODULE.bazel" (#296)
Reverts bazel-contrib/toolchains_llvm#295
2024-03-14 16:53:37 -07:00
Siddhartha Bagaria 8301a103fc
Update compability_level in MODULE.bazel (#295) 2024-03-14 15:04:18 -07:00
Siddhartha Bagaria 329910897f
Replace references of "host" with "exec". (#294)
This properly captures that we actually mean the exec platform in these
contexts. Also remove host_tools utils because we can not really do that
for the exec platform.
2024-03-14 14:50:25 -07:00
Fabian Meumertzheim 81f85c02f8
Make system module map generation faster and fully hermetic (#280)
* `system_module_maps` no longer performs any IO.
* The generated module map no longer references any non-hermetic paths
and can thus be cached remotely, even when toolchain or sysroot are
provided as absolute paths.
2024-03-14 11:23:15 +01:00
Siddhartha Bagaria 6bca3e279a
Support LLD linker for Darwin (#286)
Users can use with `--linkopt=-fuse-ld=ld64.lld` flag.

Eventually, we should make this the default. But only after we hear from
some users that it works for their projects. This PR will make it easy
for them to test.
2024-03-14 02:43:50 -07:00
Siddhartha Bagaria 8f4a0b2c40
Support exec platform different from host (#292)
Resolves #206.
2024-03-14 02:10:25 -07:00
Laurenz dd351642dc
New attribute extra_compiler_files (#245)
This helps inject files into the compiler action sandbox. The files can then be used in the compiler command line, e.g. the sanitizer ignore list.

---------

Co-authored-by: Siddhartha Bagaria <starsid@gmail.com>
2024-03-13 01:06:59 -07:00
Siddhartha Bagaria 2b54ee4c28
Revert "Warn when not generating toolchain" (#290)
Reverts bazel-contrib/toolchains_llvm#289
2024-03-12 22:48:51 -07:00
Timothy Bess 3a0a496b7d
Fix santizers on MacOS that require dylibs in the LLVM toolchain. (#250)
Add dylibs to the `lib` target so that santizers work properly on MacOS.

Resolves #192.

---------

Co-authored-by: Siddhartha Bagaria <starsid@gmail.com>
2024-03-12 22:37:31 -07:00
Siddhartha Bagaria 87222dcd35
Warn when not generating toolchain (#289) 2024-03-12 22:34:34 -07:00
Siddhartha Bagaria 6b94520233
Fix typo in test script (#288) 2024-03-12 22:06:37 -07:00
Rahul Butani 512a3608d4
Resolve Labels for toolchain roots and sysroots correctly under bzlmod (#235)
Currently the repo rule and tag class accept string-form labels for
toolchain root packages and sysroots. Under `bzlmod` this is problematic
because users may pass us labels that point at repos that are not in
this module's repo mapping. To support such labels, they need to be
passed to us as actual `Label`s (not strings).

This necessitates some (**breaking**) changes to interface for the
module extension tags. The repo rule interface remains the same.

For the "llvm" module extension, two new tags have been introduced:
- `toolchain_root`, and 
- `sysroot` 

Alternatives considered:
1. Using a `label_keyed_string_dict` would not work if we still want to
    support absolute paths in these attributes.
2. Using string aliases instead of string labels, and then a separate
    attribute for a side table that maps labels to their aliases could also
    work. This would have to be done only for the module extension
    and not the repo rule, because specifying labels in repo rules
    eagerly fetches them.

I've also enabled bzlmod-enabled tests for the system paths, absolute
paths, and cross tests in CI.

Fixes #234. cc: @steve-261370

---------

Co-authored-by: Siddhartha Bagaria <starsid@gmail.com>
2024-03-12 21:37:39 -07:00
Siddhartha Bagaria 0f93634bcd
Do not assume ID_LIKE (#287)
Resolves #244.
2024-03-12 02:45:45 -07:00
Siddhartha Bagaria 67d4dcd7e4
Also check VERSION_CODENAME (#285)
Addresses part or all of #275.
2024-03-11 23:10:06 -07:00
Bo Anderson ca816f6fc2
Add missing LLVM binaries (#277)
And fix powerpc64le and macOS logic on these versions.
2024-03-11 22:29:17 -07:00
Gabriel Féron b2ddf5395d
Do not fail if not matching LLVM toolchain root is found (#249)
This fixes one small, but quite important, difference between using the repository rule with or without `bzlmod` enabled.

Example:

```
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
llvm.toolchain(
    llvm_versions = {
        "linux-aarch64": "17.0.6",
        "linux-x86_64": "17.0.6",
    },
    sha256 = {
        "linux-aarch64": "6dd62762285326f223f40b8e4f2864b5c372de3f7de0731cb7cd55ca5287b75a",
        "linux-x86_64": "884ee67d647d77e58740c1e645649e29ae9e8a6fe87c1376be0f3a30f3cc9ab3",
    },
    stdlib = {
        "linux-aarch64": "stdc++",
        "linux-x86_64": "stdc++",
    },
    strip_prefix = {
        "linux-aarch64": "clang+llvm-17.0.6-aarch64-linux-gnu",
        "linux-x86_64": "clang+llvm-17.0.6-x86_64-linux-gnu-ubuntu-22.04",
    },
    urls = {
        "linux-aarch64": ["https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/clang+llvm-17.0.6-aarch64-linux-gnu.tar.xz"],
        "linux-x86_64": ["https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/clang+llvm-17.0.6-x86_64-linux-gnu-ubuntu-22.04.tar.xz"],
    },
)
```

and run the following on a Mac host (on which we want to use the Xcode LLVM toolchain from the system).
2024-03-11 22:22:03 -07:00
Siddhartha Bagaria 2310c12118
Update remaining deps (#284) 2024-03-11 22:17:50 -07:00
Siddhartha Bagaria f9666fff58
Move minimum supported version to Bazel 7.0.0 (#229)
This removes the need to provide flags like:

- `--incompatible_enable_cc_toolchain_resolution`
- `--features=-libtool` on macOS.
- `--features=-supports_dynamic_linker` on macOS.

As part of the update, test dep versions have also been updated.
2024-03-11 21:53:46 -07:00
Siddhartha Bagaria b5669636c6
Add planned members to code owners (#283)
This was left as a TODO before because I could not give @fmeum write permissions before.
2024-03-10 23:37:25 -07:00
Steven Casagrande 2dc6ba05a1
Add support for AlmaLinux (#281)
Co-authored-by: Steven Casagrande <steven.casagrande@ibm.com>
2024-03-10 20:03:27 -07:00
renovate[bot] c3e57e771b
Update softprops/action-gh-release action to v2 (#282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-10 20:03:01 -07:00
renovate[bot] bba94f8138
Update dependency rules_rust to v0.40.0 (#279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 12:47:01 +00:00