LXPLUS Compiler Problem

Issue #138 resolved
Laurie Nevay created an issue

BDSIM out of the box currently fails to detect the compiler properly and therefor fails to build with the default GCC 4.4.7 on lxplus - 4.9 or greater is required for C++11.

Comments (2)

  1. Jochem Snuverink

    If you want it to work out of the box, then you can detect if you are on lxplus, and check if the compiler is good enough, and if not override the compiler flag CMAKE_CXX_COMPILER. However, I think requiring the user to get access to a more up to date compiler is the better way to go, and will require less maintenance. You could perhaps point to a compiler script in the error message.

    For the nightly tests I source /afs/cern.ch/user/j/jsnuveri/public/gcc49-setup.sh, and then BDSIM compiles out of the box.

  2. Log in to comment