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

SHADERC_STATIC="./here/" #2

Merged

Conversation

knappador
Copy link

If you are here because your windows or macos builds are breaking, I apologize. The changes were not developed on these platforms. You will have to research older versions of the crate to establish whether they were in a "just works" state and if not, research your relevant platform options and make it work.

This commit implements several new build behaviors:

  • Building libshaderc from source is now fallback behavior on Linux
  • Linux will check "/usr/lib/" for libraries by default
  • SPIRV and glslang libraries may be picked up correctly if they exist in the same location as libshaderc, but funky combinations could break
  • Specification of a static library via SHADERC_STATIC, SHADERC_LIB_DIR, or SHADERC_LIB_PATH instead of the hacky --no-default-options
  • tests will build correctly when using hacky --no-default-options paths (stdc was not being included)

If you are here because your windows or macos builds are breaking, I apologize.  The changes were not developed on these platforms.  You will have to research older versions of the crate to establish whether they were in a "just works" state and if not, research your relevant platform options and make it work.

This commit implements several new build behaviors:

- Building libshaderc from source is now fallback behavior on Linux
- Linux will check "/usr/lib/" for libraries by default
- SPIRV and glslang libraries _may_ be picked up correctly if they exist in the same location as libshaderc, but funky combinations could break
- Specification of a static library via SHADERC_STATIC, SHADERC_LIB_DIR, or SHADERC_LIB_PATH instead of the hacky --no-default-options
- tests will build correctly when using hacky --no-default-options paths (stdc was not being included)
@knappador knappador merged commit d01b9af into re-enable-no-defaults-behavior Apr 16, 2019
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.

1 participant