diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-22 10:46:32 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-22 10:46:32 +0200 |
| commit | 91840b29d0394bd212c826136788061e053d2ea1 (patch) | |
| tree | 197e0725d3aed7d628c7cb5b511d5a6779e69d73 /slang-bin/README | |
| parent | cf371be6c7b6d112c8f89d286ddb4b4688a91136 (diff) | |
| download | my-slackbuilds-91840b29d0394bd212c826136788061e053d2ea1.tar.gz my-slackbuilds-91840b29d0394bd212c826136788061e053d2ea1.zip | |
slang-bin: add version 2026.18
Binary repack of upstream's official Linux x86_64 release tarball.
Building slang from source pulls in LLVM plus several bundled
dependencies, so the prebuilt tarball is packaged instead.
The tree is installed under /opt/slang-bin-$VERSION with the command
line tools symlinked into /usr/bin. The binaries resolve their libraries
through a RUNPATH of $ORIGIN/../lib, which follows through the symlink,
so no wrapper is needed.
kitty 0.49.0 and later require slangc at build time to compile their
shaders, which is the reason this package exists.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'slang-bin/README')
| -rw-r--r-- | slang-bin/README | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/slang-bin/README b/slang-bin/README new file mode 100644 index 0000000..8642e68 --- /dev/null +++ b/slang-bin/README @@ -0,0 +1,21 @@ +Slang is a shading language and compiler maintained by the Khronos +Group. It extends HLSL with modules, generics, interfaces and automatic +differentiation, and targets SPIR-V, GLSL, HLSL, Metal, WGSL, CUDA and +C++. + +This is a binary repack of upstream's official Linux x86_64 release +tarball, not a source build. Building slang from source pulls in LLVM +along with several bundled dependencies, so the prebuilt tarball is +packaged instead. + +The tree is installed under /opt/slang-bin-$VERSION and the command line +tools (slangc, slangd, slangi, slang) are symlinked into /usr/bin. The +binaries locate their libraries through a RUNPATH of $ORIGIN/../lib, so +the bin/ and lib/ directories must stay siblings; do not move them +apart. + +This package is x86_64 only. Upstream also ships an aarch64 tarball, +which this script does not handle. + +kitty 0.49.0 and later require slangc at build time to compile their +shaders, which is the main reason this package exists. |
