summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnders Leino <aleino@nvidia.com>2025-01-09 03:27:40 +0200
committerGitHub <noreply@github.com>2025-01-08 17:27:40 -0800
commit63b8d9e1d0b0bba66f13013aa6b80bd9fab4036b (patch)
tree452bd60a15db5b28c13e948218c43e5f056266c2 /tools
parent5b9931456f595b0a2163fabb65dceac99e0e220f (diff)
slang-test: Ensure runtime is consistent (#6021)
I hit issue #5305 again after re-generating the build directory, building and then running slang-test. In other words, D3D12 and Slang-RHI/WebGPU/D3D12 failed to create a device due to the runtime being incosistent. Bilding copy-prebuilt-binaries fixed it, and so it's best to make this step a dependency of slang-test.
Diffstat (limited to 'tools')
-rw-r--r--tools/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index dfa19d42f..1f2c3033a 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -235,6 +235,8 @@ if(SLANG_ENABLE_TESTS)
slang-llvm
copy-webgpu_dawn
copy-slang-tint
+ # See issue 5305.
+ copy-prebuilt-binaries
FOLDER test
DEBUG_DIR ${slang_SOURCE_DIR}
)