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 support for building vsg and vsgXchange when system dep is not available #8

Merged
merged 16 commits into from
Nov 24, 2023

Conversation

psi29a
Copy link
Collaborator

@psi29a psi29a commented Nov 6, 2023

Resolves #9

Not everyone has a system with VSG and VSGXCHANGE ready, so we specify which version and make sure the hash is correct to limit the security impact.

We can cache the results as well, so there is limited impact onbuild time as well.

  • ubuntu support (purely build, no artefact)
  • macos support (with artefact: .dmg)
  • flatpak support (with artefact: flatpak)

We also now build without OSG, meaning that we no longer need OSG to build. We now will in all the necessary osg headers in extern/osg; this is temporary until everything is moved over to using VSG. This means that there is some OSG cruft laying around but now we save time by not having to deal with OSG.

We also enabled the launcher and some of the basic bits.

We we now build are:

  • openmw
  • openmw-launcher
  • openmw-iniimporter
  • openmw-wizard

Bonus points: found build bug in VSG:
vsg-dev/VulkanSceneGraph#1021

Note: flatpak still has issue with glslang support; tldr flatpak does not allow network access while building so vsg will fail to use git to clone their custom version. Will look into this later. The result of this issue is that vsgopenmw can't compile shaders and thus will fail to start. So the only usuable package is macos for now.

@psi29a psi29a force-pushed the non_system_vsg branch 2 times, most recently from 37d9196 to 2aab173 Compare November 6, 2023 13:30
@psi29a
Copy link
Collaborator Author

psi29a commented Nov 6, 2023

Alright, looks like we got things building for vsg and vsgXchange, but master has a missing dither.glsl shader.

@psi29a psi29a force-pushed the non_system_vsg branch 8 times, most recently from 7322da3 to 2e57252 Compare November 9, 2023 17:03
@psi29a psi29a force-pushed the non_system_vsg branch 3 times, most recently from 473509d to 2dfc86f Compare November 10, 2023 19:05
@psi29a psi29a merged commit 0aceacd into master Nov 24, 2023
3 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.

Reproducible and usable builds of vsgopenmw
1 participant