Punzo / SlicerAstro

Astronomy (HI) extension for 3DSlicer (https://www.slicer.org/)
BSD 3-Clause "New" or "Revised" License
39 stars 7 forks source link

COMP: update gcc compiler linux kitware factory machine #72

Closed Punzo closed 6 years ago

Punzo commented 6 years ago

Hi @jcfr, would be possible to update the linux factory machine gcc from 4.6 to 4.7 to support OpenMP call reduction max and min? gcc 4.7 supports OpenMP 3.1 which is the one I need.

Or may you keep in mind this when setting up the new infrastructure to compile the Qt5/VTK9 version?

build Error:

pragma omp parallel for schedule(static) reduction(max : max_val), reduction(min : min_val)

http://slicer.cdash.org/viewBuildError.php?buildid=1186462

Punzo commented 6 years ago

well c++11 will require gcc 4.7 as well, so I guess this can wait up to the new release of the binaries of Slicer with Qt5/VTK9/C++11

Punzo commented 6 years ago

reference: https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918