Skip to content

Build spirv-reflect and spirv-cross from source and add a trunk version #1887

@spencer-lunarg

Description

@spencer-lunarg

From adding a few Vulkan SDK versions, I have found the spirv-reflect and spirv-cross used for the SPIR-V language might be better to be like SPIRV-Tools and have us build from source nightly and just add a trunk version

I would be happy to help, just not sure how to.

Image

For SPIRV-Reflect the build is very easy (and quick)

git clone [email protected]:KhronosGroup/SPIRV-Reflect.git
cd SPIRV-Reflect
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

then the binary is always just put into a bin/ folder (SPIRV-Reflect/bin/spirv-reflect)


For SPIRV-Cross is the same build workflow (and also quick)

git clone [email protected]:KhronosGroup/SPIRV-Cross.git
cd SPIRV-Cross
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

and the spirv-cross binary is just in the build/ folder (SPIRV-Cross/build/spirv-cross)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions