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

Installing libshaderc only #1452

Open
vanfanel opened this issue Nov 17, 2024 · 1 comment
Open

Installing libshaderc only #1452

vanfanel opened this issue Nov 17, 2024 · 1 comment

Comments

@vanfanel
Copy link

Hello there,

I'm building a project that depends on a recent version of libshaderc, so the version installed by the package manager on my GNU/Linux distro (Debian Testing) is not enough, so I have to build and install libshaderc manually.

Shaderc seems to be unable to use system-installed spirv-tools and glslang, so it builds them on the thirt_party directory. Oh well.

The problem is that when installing libshaderc, the local spirv-tools and glslang copies are also installed, which I don't want because I already have them on my system and I am OK with that.

This is how I configure the sources:

cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DSHADERC_SKIP_TESTS=ON \
-DSPIRV_SKIP_EXECUTABLES=ON -DSKIP_GLSLANG_INSTALL=ON

So, is there a way to use the build system to install libshaderc ONLY? (NO spirv-tools, glslang, etc)

Thanks!

@meetgandhi-dev
Copy link

I believe having this feature will be helpful. In our project we also require libshaderc-dev only.

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

No branches or pull requests

2 participants