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

glslang - Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator. #36

Open
monomere opened this issue Jun 28, 2024 · 5 comments

Comments

@monomere
Copy link

monomere commented Jun 28, 2024

glslang is an important piece of software for game engines using vulkan, but I haven't found a build2 package for it yet.

I'm currently making the package locally, but I'll publish it in monomere/glslang-build2 when it is in a working-ish state :-)

Dependencies: (see upstream readme)
Possibly depends on Python 3.x at build time (? maybe at package creation time)
Depends on Bison for updating the grammar (how do I to handle this?)
Depends on googletest for tests.

@monomere
Copy link
Author

monomere commented Jun 28, 2024

If someone more experienced in build2 wants to do this please tell because it might take a long time for me to do this, the build setup is kinda complicated :-(

(To clarify: I'm still doing this, just slowly)

@kamrann
Copy link

kamrann commented Sep 27, 2024

Is this ongoing? The repo link you gave isn't valid but I guess that just means you're still working locally?
I can indeed imagine this would be a big job, but I can try to help out if you're still attempting to do this and can push what you have to github.

Regarding Bison, #22 mentions that there are some similar alternatives, not sure if they could be used. But perhaps more to the point, glslang readme states that Bison is an optional dependency, it sounds like in the vast majority of cases it wouldn't be needed.

As for the Python dependency, this is also listed as optional so a first pass at packaging could skip it. I found the script a bit confusing, but my initial reaction is that the build2 package could probably ignore that entirely as it would seem to make more sense for those dependencies to be handled simply by packaging them independently too.

A build2 package for GoogleTest is already available on cppget.

@coinconclusive
Copy link

I unfortunately haven't yet started on this, sorry for the confusion!

I should have more free time now though, but if you're keen on doing this, it would probably be better if you create the repo instead :-)

@monomere
Copy link
Author

whoops, old account :P

@kamrann
Copy link

kamrann commented Sep 28, 2024

'Keen' is probably pushing it ;)
I have no need of it and no background using it, just a vague interest at this point.

If you have some drive to get it working then I'd be happy to set up the repo and contribute for sure, but I don't think it would make sense without yourself or someone else wanting to actively use and test it in a project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants