summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/constexpr-error.slang
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-19 07:05:53 +0800
committerGitHub <noreply@github.com>2024-10-18 16:05:53 -0700
commitb2386f36ee3ac253457e9e532b0373a5ce1ee687 (patch)
treed18b9fc3a7749ee7a4f2298cecc37839a362cb6a /tests/diagnostics/constexpr-error.slang
parentf2b2db57cb7b1e8da8abc74bcf1068b52d756d00 (diff)
Make slang-llvm fetching and failure more robust (#5346)
* Make slang-llvm fetching and failure more robust Improve error reporting when things go wrong. Fall back by default to a non-llvm build Closes https://github.com/shader-slang/slang/issues/5247 Tested sensible behavior with: - `FETCH_BINARY_IF_POSSIBLE`, valid tag - No errors or warnings, successful build with llvm - `FETCH_BINARY_IF_POSSIBLE`, no valid tag - Warning message, successful llvm build with slang-llvm from latest release - `FETCH_BINARY_IF_POSSIBLE`, no valid tag, bad `SLANG_SLANG_LLVM_BINARY_URL` specified - Warning message, successful no-llvm build - `FETCH_BINARY_IF_POSSIBLE`, no valid tag, unable to fetch release information - Warning message, successful no-llvm build - `FETCH_BINARY`, valid tag - No errors or warnings, successful build with llvm - `FETCH_BINARY`, no valid tag - Warning message, successful llvm build with slang-llvm from latest release - `FETCH_BINARY`, no valid tag, bad `SLANG_SLANG_LLVM_BINARY_URL` specified - Error, explaining that we couldn't fetch it - `FETCH_BINARY`, no valid tag, unable to fetch release info - Error, explaining that we couldn't fetch it * Allow downloading from a local file --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/diagnostics/constexpr-error.slang')
0 files changed, 0 insertions, 0 deletions