[shaderc] Re-fix installation#16781
Conversation
|
@jmoguillansky-gpsw Can you please test this PR? Thanks. |
|
Related issue #16658 |
ras0219-msft
left a comment
There was a problem hiding this comment.
Please see #16137 (comment)
Hi @JackBoosY I tested your branch, I was able to build shaderc shared lib successfully. |
|
@ras0219-msft glslang and spir-tools use some symbols that are not exported in shaderc, so if we need to build them, we must first build static shaderc. |
shaderc depends on glslang and spirv-tools; therefore they cannot be depending on symbols exported by shaderc: Therefore, if glslang and spirv-tools can only be built statically, shaderc should also be built statically. Dynamic libraries should (generally) not depend on static libraries. |
I don't think shaderc links against glslang or spriv-tools. |
|
Any updates on this? Would love to use shaderc thru vcpkg as it has issues with path size limits in my project. |
|
@CaptainHorse Will continue to handle this PR later. |
…jack/16137 And re-fix installation, remove install util
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 1257354a3ab0bebd8abe95281ca561537853578c -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/s-/shaderc.json b/versions/s-/shaderc.json
index ce2fa76..2f2112f 100644
--- a/versions/s-/shaderc.json
+++ b/versions/s-/shaderc.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "acddbab84ab19cc4d1e04ecb5277d3969cf9b093",
+ "git-tree": "f6a82ca83afbf20c08d6d001f133cd5fd2672108",
"version": "2021.1",
"port-version": 2
},|
Requires #19219. |
|
Linux regression related to KhronosGroup/SPIRV-Tools#1569. |
|
The related upstream issue on linux has been fixed, please reopen and continue this PR if you have time. |
Related: #16137.