mirror of
https://github.com/italicsjenga/spirv-to-dxil-rs.git
synced 2024-12-23 11:31:31 +11:00
build: disable shader-cache
This commit is contained in:
parent
e911f934be
commit
5fce1f5921
|
@ -9,7 +9,7 @@ spirv-to-dxil-rs builds a copy of spirv-to-dxil statically from Mesa. Many of th
|
|||
* [Meson](https://mesonbuild.com/)
|
||||
* A compatible C and C++ compiler
|
||||
* [MSVC 2019 16.11 or later](https://docs.mesa3d.org/install.html) is required to build on Windows.
|
||||
* [clang](https://clang.llvm.org/) is required for Linux.
|
||||
|
||||
* [Python 3.6](https://www.python.org/) or later.
|
||||
|
||||
Lex and Yacc are not required. Additionally, [CMake 3.6](https://cmake.org/) or later is required to run the build script.
|
||||
|
@ -18,3 +18,4 @@ Lex and Yacc are not required. Additionally, [CMake 3.6](https://cmake.org/) or
|
|||
$ git submodule update --init --progress --depth=1
|
||||
$ cargo build
|
||||
```
|
||||
|
||||
|
|
|
@ -21,9 +21,6 @@ fn main() {
|
|||
if cfg!(target_os = "windows") {
|
||||
println!("cargo:rustc-link-lib=Version");
|
||||
}
|
||||
if cfg!(target_os = "linux") {
|
||||
println!("cargo:rustc-link-lib=stdc++");
|
||||
}
|
||||
|
||||
println!("cargo:rustc-link-search=native={}", object_dst.display());
|
||||
println!("cargo:rustc-link-lib=static=spirv_to_dxil");
|
||||
|
|
|
@ -41,6 +41,7 @@ set(MESA_EXTRA_FLAGS
|
|||
-Dshared-llvm=disabled
|
||||
-Dplatforms=
|
||||
-Dzlib=disabled
|
||||
-Dshader-cache=disabled
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue