https://github.com/bookingcom/rules_patchelf_prebuilt
Bazel rule providing prebuilt patchelf for serveral operative systems and versions
https://github.com/bookingcom/rules_patchelf_prebuilt
Last synced: 3 months ago
JSON representation
Bazel rule providing prebuilt patchelf for serveral operative systems and versions
- Host: GitHub
- URL: https://github.com/bookingcom/rules_patchelf_prebuilt
- Owner: bookingcom
- License: apache-2.0
- Created: 2024-06-20T14:10:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T07:56:12.000Z (almost 2 years ago)
- Last Synced: 2025-06-01T17:03:39.602Z (about 1 year ago)
- Language: Starlark
- Size: 58.6 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Bazel rules for prebuilt patchelf
This rules for Bazel provide patchelf prebuilt for platforms defined
in `patchelf_prebuilt/platforms/BUILD.bazel`, each tag in this repo
corresponds with a tag in [upstream patchelf](https://github.com/NixOS/patchelf).
Given that our company requires 0.14 built for darwin-arm64 we can't just
pull the binaries from upstream.
## Installation
### Using Bzlmod with Bazel 6 or greater
1. (Bazel 6 only) Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "com_booking_rules_patchelf_prebuilt", version = "0.14.5")
```
### Using WORKSPACE
WORKSPACE mode is not supported