ShipSoft / shipdist

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

Update ROOT, use CMAKE_CXX_STANDARD #45

Closed olantwin closed 4 years ago

olantwin commented 4 years ago

This updates to the latest ROOT version and changes to the recommended way to select the ROOT C++ standard (old one still works for now, but will be deprecated in the near future).

Other packages are not affected (we should maybe move to a newer C++ standard though eventually).

ThomasRuf commented 4 years ago

i am wondering why openssl is not used from the system. I do have /usr/include/openssl/bio.h /usr/include/openssl/opensslv.h as required in the system test. What is the meaning of prefer_system: (?!slc5|slc6) ? Without this line, it does take the sytem one.

ThomasRuf commented 4 years ago

same happens for protobuf. Without prefer_system: "(?!slc5)" it takes the system one. Should we remove everywhere these ancient OS slc5 and slc6?

olantwin commented 4 years ago

AFAIK, prefer_system is a regex which determines on which system aliBuild attempts to use the system OpenSSL.

olantwin commented 4 years ago

same happens for protobuf. Without prefer_system: "(?!slc5)" it takes the system one. Should we remove everywhere these ancient OS slc5 and slc6?

Let's discuss this in a new issue, but I would say we can definitely drop slc5, and could maybe add ubuntu and fedora in some cases if we know system versions work/don't work.

slc6 we can drop when lxplus6 is retired, but might be useful to keep it until then.

ThomasRuf commented 4 years ago

Right now, I have aliBuild can take the following packages from the system and will not build them: libxml2, Python-modules, go, boost, GSL, zlib, FreeType, autotools, GCC-Toolchain, CMake, nanomsg, ZeroMQ

no package needs to be build. How would you specify ubuntu in the regex?