Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vulkan-sdk #1475

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Add vulkan-sdk #1475

merged 1 commit into from
Dec 6, 2024

Conversation

mattgodbolt
Copy link
Member

CC @spencer-lunarg this adds a single version of the vulkan SDK. We can add as many versions as we like in the target: list.

Ends up with a directory structure like:

$ ls /opt/compiler-explorer/vulkan-sdk/v1.3.296.0/x86_64/bin/
dxa@      dxl-3.7*    dxv@                         gfxrecon-convert*   gfxrecon-replay*   llvm-tblgen*  spirv-cfg*          spirv-lint*     spirv-reflect-pp*  vkcubepp*
dxa-3.7*  dxopt@      dxv-3.7*                     gfxrecon-extract*   gfx.slang          slangc*       spirv-cross*        spirv-objdump*  spirv-remap*       vkcube-wayland*
dxc@      dxopt-3.7*  gfxrecon-capture.py*         gfxrecon-info*      glslang*           slangd*       spirv-dis*          spirv-opt*      spirv-val*         vkvia*
dxc-3.7*  dxr@        gfxrecon-capture-vulkan.py*  gfxrecon-optimize*  glslangValidator@  slang.slang   spirv-lesspipe.sh*  spirv-reduce*   vkconfig*          vulkanCapsViewer*
dxl@      dxr-3.7*    gfxrecon-compress*           gfxrecon.py*        glslc*             spirv-as*     spirv-link*         spirv-reflect*  vkcube*            vulkaninfo*

which includes spirv-reflect and spirv-cross, both of which run with no ldd-related issues. I can't vouch for how they run when actually pointed at code etc.

Part of #1444

CC @spencer-lunarg this adds a single version of the vulkan SDK.
We can add as many versions as we like in the `target:` list.

Ends up with a directory structure like:

```
$ ls /opt/compiler-explorer/vulkan-sdk/v1.3.296.0/x86_64/bin/
dxa@      dxl-3.7*    dxv@                         gfxrecon-convert*   gfxrecon-replay*   llvm-tblgen*  spirv-cfg*          spirv-lint*     spirv-reflect-pp*  vkcubepp*
dxa-3.7*  dxopt@      dxv-3.7*                     gfxrecon-extract*   gfx.slang          slangc*       spirv-cross*        spirv-objdump*  spirv-remap*       vkcube-wayland*
dxc@      dxopt-3.7*  gfxrecon-capture.py*         gfxrecon-info*      glslang*           slangd*       spirv-dis*          spirv-opt*      spirv-val*         vkvia*
dxc-3.7*  dxr@        gfxrecon-capture-vulkan.py*  gfxrecon-optimize*  glslangValidator@  slang.slang   spirv-lesspipe.sh*  spirv-reduce*   vkconfig*          vulkanCapsViewer*
dxl@      dxr-3.7*    gfxrecon-compress*           gfxrecon.py*        glslc*             spirv-as*     spirv-link*         spirv-reflect*  vkcube*            vulkaninfo*
```

which includes `spirv-reflect` and `spirv-cross`, both of which
run with no `ldd`-related issues. I can't vouch for how they run
when actually pointed at code etc.

Part of #1444
@mattgodbolt mattgodbolt merged commit 36e04be into main Dec 6, 2024
4 checks passed
@mattgodbolt mattgodbolt deleted the mg/vulkan-sdk branch December 6, 2024 19:58
mattgodbolt pushed a commit to compiler-explorer/compiler-explorer that referenced this pull request Dec 7, 2024
I added SPIRV-Cross support in
#7056 and
with the Infra changes in
compiler-explorer/infra#1475 we can have it up
online

(note, the `spirv-reflect` needed a fix to the command line args which
means will have to wait until next SDK to add it here)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants