mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-02 14:57:43 +03:00

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
21 lines
342 B
TOML
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",
|
|
]
|