-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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: build shared libraries #342459
base: staging-next
Are you sure you want to change the base?
glslang: build shared libraries #342459
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Target to staging-next because of a lot of rebuilds.
Read CONTRIBUTION.md carefully and correct the title of PR and commit message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Should we backport it? |
Note the commit message still hasn't been corrected. |
shared libraries are required for some of the c++ api classes such as TShader
1d77070
to
c3948c2
Compare
I've updated the commit message. |
I've been unable to get a full nixpkgs-review pr test because python3.10-websockets-12.0 gets stuck on Executing unittestCheckPhase. |
Description of changes
Build shared glslang libraries.
For reference, view the arch pkgbuild, which correctly builds the shared libraries.
I ran into linker errors with my application, which depends on glslang, and the lack of shared libraries was the culprit.
Things done
Added -DBUILD_SHARED_LIBS=ON to cmakeFlags.
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.