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 cmake option to enable --spirv-tools-dis feature #2925

Merged

Conversation

maarquitos14
Copy link
Contributor

@maarquitos14 maarquitos14 commented Dec 12, 2024

Currently, when making spirv-tools available to the translator two things happen:

  1. Tests requiring spirv-tools binaries such as spirv-as or spirv-dis can run.
  2. llvm-spirv is linked against spirv-tools libraries to enable --spirv-tools-dis option.

This patch separates (2.) into a different option (LLVM_SPIRV_ENABLE_LIBSPIRV_DIS), so that we can still run tests requiring spirv-tools binaries even if we don't want to link llvm-spirv against spirv-tools libraries.

@vmaksimo vmaksimo requested review from svenvh and MrSidims December 12, 2024 17:10
@MrSidims MrSidims merged commit b8b1b96 into KhronosGroup:main Dec 14, 2024
8 checks passed
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.

3 participants