diff options
| author | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-09-02 17:07:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-03 00:07:06 +0000 |
| commit | 7d15d388d7e92547f1cc8ca47748b79589701051 (patch) | |
| tree | 457312d7278eb8aa5186ca03237477b3f3ad5993 /source | |
| parent | f02b08490aa905f42a8d90381db84b1f8e409c0c (diff) | |
Enable ccache for self-hosted runner (#8345)
Related to https://github.com/shader-slang/slang/issues/6728
---------
Co-authored-by: slangbot <ellieh+slangbot@nvidia.com>
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source')
| -rw-r--r-- | source/compiler-core/slang-nvrtc-compiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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))) { |
