From 7d15d388d7e92547f1cc8ca47748b79589701051 Mon Sep 17 00:00:00 2001 From: Gangzheng Tong Date: Tue, 2 Sep 2025 17:07:06 -0700 Subject: Enable ccache for self-hosted runner (#8345) Related to https://github.com/shader-slang/slang/issues/6728 --------- Co-authored-by: slangbot Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- source/compiler-core/slang-nvrtc-compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/compiler-core/slang-nvrtc-compiler.cpp b/source/compiler-core/slang-nvrtc-compiler.cpp index 8c39b2de4..9f69174bc 100644 --- a/source/compiler-core/slang-nvrtc-compiler.cpp +++ b/source/compiler-core/slang-nvrtc-compiler.cpp @@ -554,11 +554,11 @@ static SlangResult _findNVRTC(NVRTCPathVisitor& visitor) } } - // If we don't have a candidate try CUDA_PATH + // If we don't have a candidate, try CUDA_PATH if (!visitor.hasCandidates()) { StringBuilder buf; - if (!SLANG_SUCCEEDED(PlatformUtil::getEnvironmentVariable( + if (SLANG_SUCCEEDED(PlatformUtil::getEnvironmentVariable( UnownedStringSlice::fromLiteral("CUDA_PATH"), buf))) { -- cgit v1.2.3