Re: graphics/glslang build shared libs

2023-05-01 Thread Nam Nguyen
Stuart Henderson writes: > On 2023/04/30 11:41, Thomas Frohwein wrote: >> We have other ports that have shared libraries without version suffix; >> games/lwjgl comes to mind for me. There are probably others, too. > > They aren't usually in /usr/local/lib though. > > If they're linked against by

Re: graphics/glslang build shared libs

2023-05-01 Thread Stuart Henderson
On 2023/04/30 11:41, Thomas Frohwein wrote: > > > > naddy uncovered a build failure with emulators/flycast. I will have > > details in the flycast email, but the proposed solution is to build > > shared libraries in graphics/glslang so that flycast can use libSPIRV.so > > and libglslang.so.0.0. >

Re: graphics/glslang build shared libs

2023-04-30 Thread Thomas Frohwein
On Sat, Apr 29, 2023 at 09:14:18PM -0700, Nam Nguyen wrote: > > Thomas Frohwein writes: > > > >> On Tue, Apr 18, 2023 at 06:41:50PM -0700, Nam Nguyen wrote: > >> Do you have some details on this? Is this an upstream error, that > >> that --no-undefined is wrong when building the shared library? Or

Re: graphics/glslang build shared libs

2023-04-29 Thread Nam Nguyen
> Thomas Frohwein writes: > >> On Tue, Apr 18, 2023 at 06:41:50PM -0700, Nam Nguyen wrote: >> Do you have some details on this? Is this an upstream error, that >> that --no-undefined is wrong when building the shared library? Or is >> there something that might not be compiling or linking

Re: graphics/glslang build shared libs

2023-04-21 Thread Nam Nguyen
This glslang diff is no longer necessary. I'll build flycast so that it bundles glslang, which it does by default. This will make it easier to review. The rest of the email can be skipped, but I reported some findings inline. Thomas Frohwein writes: > On Tue, Apr 18, 2023 at 06:41:50PM -0700,

Re: graphics/glslang build shared libs

2023-04-20 Thread Thomas Frohwein
On Tue, Apr 18, 2023 at 06:41:50PM -0700, Nam Nguyen wrote: > > Here is a diff to build shared libraries for glslang. This shared lib > glslang will be used by emulators/flycast. > > I checked consumers graphics/vulkan-tools and graphics/piglit and they > both build and run. I tested building