Ci2#68
Conversation
As agreed in Perl-GPU#66, here's the next iteration that would allow linking the module with XQuartz libraries. The intended use is this: env: OGLM_ADD_DEFINE: '-DGLEW_APPLE_GLX -I/opt/X11/include' OGLM_ADD_LIBS: '-L/opt/X11/lib -lglut' OGLM_REPLACE_OTHERLDFLAGS: ''
|
@mohawk2 kindly let me know if the CI is as you imagined it, - this is my best understanding of your requirements |
|
On the face of it, this does have CI and passes the tests, thank you. But I'm having a bit of a problem understanding why OGLM would actually need or even be affected by having the |
|
Having done a bit of googling, this (https://stackoverflow.com/questions/27829330/glew-apple-glx-causes-linking-error-when-building-glew) makes it look like it is indeed needed, which is terrible but here we are. Also it looks like what's needed is I think a synthesis of the approaches here (adding CI) and the one in #67 (generalised env variables to add/replace flags), together with adding installation notes documenting those env variables, is the right way forward. |
Use OGLM_APPLE_GLX for glew-supported XQuartz/GLX GLEW_APPLE_GLX backend.
Now with CI.