Skip to content

Conversation

@crueter
Copy link

@crueter crueter commented Oct 5, 2025

This is super WIP and is largely untested outside of using it as a subproject on Linux.

Firstly this allows for static-ONLY builds (no shared libs at all)--useful for including this as a subproject

Makes the library itself build once via an object library--this isn't actually ideal due to symbol export shenanigans, but this is pretty trivial to solve in code (I just don't feel like it for now)

Also makes the shared/static handling for spirv-tools targets just better in general to account for this

TODO:

  • Should we make the other libraries static/shared split?
  • Fix symbol exporting and cxx visibility nonsense (this is a totally manufactured problem--current code makes it needlessly complex)
  • test on Windows

See #3909

side note: please allow us to contribute in places other than GitHub--no, that companies-only GitLab doesn't count. two-way mirrors on a Khronos Forgejo would be nice, for example

Firstly this allows for static-ONLY builds (no shared libs at
all)--useful for including this as a subproject

Makes the library itself build once via an object library--this isn't
actually ideal due to symbol export shenanigans, but this is pretty
trivial to solve in code (I just don't feel like it for now)

Also makes the shared/static handling for spirv-tools targets just
better in general to account for this

TODO:
- Should we make the other libraries static/shared split?
- Fix symbol exporting and cxx visibility nonsense (this isn't even a
  problem--current code makes it needlessly complex)
- test on Windows

Signed-off-by: crueter <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Oct 5, 2025

CLA assistant check
All committers have signed the CLA.

Signed-off-by: crueter <[email protected]>
@crueter
Copy link
Author

crueter commented Dec 30, 2025

Gonna split this up into 2 PRs soon and fix a bunch of issues with it

@crueter
Copy link
Author

crueter commented Dec 30, 2025

sup. #6481

A separate PR will be made for the object-library portion.

@crueter crueter closed this Dec 30, 2025
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