diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-08-21 04:09:15 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-20 13:09:15 -0700 |
| commit | 579d59c761cb0460701e0e820eb066275fe357b3 (patch) | |
| tree | 821f0cd3a23ce6e164b7f676e35ff6b4913124b6 /docs | |
| parent | d286ff53c101e471a4a07ee50d277c99d18632b0 (diff) | |
Fetch slang-llvm.so from correct release (#4847)
* Fetch slang-llvm.so from correct release
Closes https://github.com/shader-slang/slang/issues/4648
Should close https://github.com/shader-slang/slang/issues/4812
* Update docs
* Correct documentation on cmake option
* Neaten cmake script
* Fix fetching on windows
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/building.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/building.md b/docs/building.md index 2b2435302..d86b80205 100644 --- a/docs/building.md +++ b/docs/building.md @@ -101,6 +101,10 @@ There are several options for getting llvm-support: - You can set `SLANG_SLANG_LLVM_BINARY_URL` to point to a local `libslang-llvm.so/slang-llvm.dll` or set it to a URL of an zip/archive containing such a file + - If this isn't set then the build system tries to download it from the + release on github matching the current tag. If such a tag doesn't exist + or doesn't have the correct os*arch combination then the latest release + will be tried. - Use a system supplied LLVM: `-DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM`, you must have llvm-13.0 and a matching libclang installed. It's important that either: |
