ShipSoft / shipdist

Recipes to build SHiP software and its dependencies
2 stars 14 forks source link

opengl #51

Closed ThomasRuf closed 10 months ago

ThomasRuf commented 4 years ago

the system check is system_requirement_check: | printf "#include <GL/glu.h>\n" | cc -xc - -c -o /dev/null

I do have /usr/include/GL/glu.h. the above check does not cause any error.

Alidoctor reports: SUCCESS: Required package opengl will be picked up from the system. and at the same time also: The following packages will be built by aliBuild because they couldn't be picked up from the system: ...

alibuild goes ahead and builds opengl. WHY?

olantwin commented 4 years ago

Does aliDoctor give any more info?

ThomasRuf commented 4 years ago

no more info from alidoctor than the above. Maybe system_requirement_check should be changed to prefer_system_check ?

ThomasRuf commented 4 years ago

maybe the message is fake. after all, it does not appear explicitly in the list of packages to be build: ==> The following packages cannot be taken from the system and will be built: log4cpp, simulation, googletest, GEANT4, pythia6, vgm, XercesC, Xdevel, FairRoot, GEANT3, generators, lhapdf5, Tauolapp, PHOTOSPP, OpenSSL, defaults-release, XRootD, EvtGen, ROOT, HepMC, opengl, FairShip, pythia, GEANT4_VMC, GENIE, alpaca

==> Packages will be built in the following order:

olantwin commented 10 months ago

Stale, closing.