Fix usage of OpenMP on macosx
On macosx one needs a openmp installation which does not come with the system, at least the omp.h header file is missing. brew has a package libomp which installs the header and a library. Both are found by the cmake module FindOpenMP and properly used during the compilation and linking. In themoment there is still a runtime error when executing the L1 tracking with OpenMP support on macosx, so switch off OpenMP for the time being. The problem is investigated already. refs #2028. Cleanup OpenMP handling in the build system. Move check for OpenMP to top level. Remove OpenMP usage from all libs were it is not needed.
Showing
- CMakeLists.txt 7 additions, 0 deletionsCMakeLists.txt
- analysis/detectors/sts/CMakeLists.txt 0 additions, 9 deletionsanalysis/detectors/sts/CMakeLists.txt
- reco/L1/CMakeLists.txt 39 additions, 19 deletionsreco/L1/CMakeLists.txt
- reco/detectors/sts/CMakeLists.txt 5 additions, 5 deletionsreco/detectors/sts/CMakeLists.txt
- reco/tracking/lx/Simple/CMakeLists.txt 0 additions, 2 deletionsreco/tracking/lx/Simple/CMakeLists.txt
- reco/tracking/lxTriplet/CMakeLists.txt 0 additions, 6 deletionsreco/tracking/lxTriplet/CMakeLists.txt
- sim/detectors/sts/CMakeLists.txt 0 additions, 9 deletionssim/detectors/sts/CMakeLists.txt
Loading
Please register or sign in to comment