ZLUDA/zluda_preload/Cargo.toml
Andrzej Janik cd7e2f8e36 Force loading ZLUDA through LD_PRELOAD (#447)
Certain applications (pytorch) decide that it's a great idea to distribute whole CUDA driver and link to it with DT_RPATH. This igores LD_LIBRARY_PATH.
This code defeats that evil mechanism through any means necessary
2025-07-31 18:00:13 -07:00

21 lines
342 B
TOML

[package]
name = "zluda_preload"
version = "0.0.0"
authors = ["Andrzej Janik <vosen@vosen.pl>"]
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
ctor = "0.4.3"
unwrap_or = "1.0.1"
[package.metadata.zluda]
linux_only = true
linux_symlinks = [
"zluda_preload",
"trace/zluda_preload",
"trace_nvidia/zluda_preload",
]