From 63b8d9e1d0b0bba66f13013aa6b80bd9fab4036b Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Thu, 9 Jan 2025 03:27:40 +0200 Subject: 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. --- tools/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') 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} ) -- cgit v1.2.3