aboutsummaryrefslogtreecommitdiffhomepage
path: root/spirv_tools-sys
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2020-08-28 22:37:16 +0200
committerAndrzej Janik <[email protected]>2020-08-28 22:37:16 +0200
commit34dc149be1cc83ecd931c0da742befe3eb67feaf (patch)
tree7a827c51c8ec87f0a234ce4b9e80cb2d6e8c9b0c /spirv_tools-sys
parentd47cd1e133995a08af15edd23c476ebf6d5cabf8 (diff)
downloadZLUDA-34dc149be1cc83ecd931c0da742befe3eb67feaf.tar.gz
ZLUDA-34dc149be1cc83ecd931c0da742befe3eb67feaf.zip
Update level0 to 1.0 and unpack fatbins
Diffstat (limited to 'spirv_tools-sys')
-rw-r--r--spirv_tools-sys/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/spirv_tools-sys/build.rs b/spirv_tools-sys/build.rs
index 8cdf695..ae72561 100644
--- a/spirv_tools-sys/build.rs
+++ b/spirv_tools-sys/build.rs
@@ -18,6 +18,10 @@ fn main() -> Result<(), VarError> {
"cargo:rustc-link-search=native={}/bin",
spirv_tools_dir.display()
);
+ println!(
+ "cargo:rustc-link-search=native={}/lib",
+ spirv_tools_dir.display()
+ );
// dynamic linking to avoid linking to C++ runtime
println!("cargo:rustc-link-lib=dylib=SPIRV-Tools-shared");
Ok(())