mirror of
https://github.com/zml/zml.git
synced 2026-11-16 19:11:09 +00:00
The `@patchelf` version 0.18.0 is more capable and can now construct something like ```bash patchelf \ --add-needed somelib.so \ --force-rpath \ --set-rpath '/home/kevin/sdk/lib' \ --rename-dynamic-symbols patched_tcc.symbols \ --output patched_tcc/furiosa-tcc \ somebinary ``` So now we do not need to spawn a shell and do all the cp, chmod, and the successive patchelf command Before ```bash remove_rpath = ["some/directory"] ``` `--remove-rpath` is a flag that `Removes the entire embedded search path` and not an individual directory will contruct something like `patchelf --remove-rpath some/directory patched.so` but `--remove-rpath` do not take arguments Switch to `remove_rpath = True` to ensure something like `patchelf --remove-rpath --output patched.so original.so` the `--remove-rpath` is now used just after the patchelf to ensure correct usage flag placement. |
History
|
|
|---|---|---|
| .. | ||
| stamp | ||
| bazel.zig | ||
| BUILD.bazel | ||
| cc_import.bzl | ||
| dpkg.bzl | ||
| http_aea_archive.bzl | ||
| http_deb_archive.bzl | ||
| huggingface.bzl | ||
| patchelf.bzl | ||
| runfiles.bzl | ||
| simple_repository.bzl | ||
| swig.bzl | ||
| zig_index.json | ||
| zig_options.bzl | ||
| zig_proto_library.bzl | ||
| zig_srcs.bzl | ||