diff options
author | Arto Kitula <arto.kitula@gmail.com> | 2018-08-09 17:57:12 +0300 |
---|---|---|
committer | Arto Kitula <arto.kitula@gmail.com> | 2018-08-09 17:57:12 +0300 |
commit | 1282be0f8278d24809d1781713c5adcf0ef5e936 (patch) | |
tree | 91aa83882da9f0c23bc8b0bed23a61373d475189 /build_files/build_environment/cmake/openmp.cmake | |
parent | e20a0798dc6ca38eb4a06dda7948bd1c306d0693 (diff) |
update llvm + clang to 6.0.1 and add openmp for macOS
Diffstat (limited to 'build_files/build_environment/cmake/openmp.cmake')
-rw-r--r-- | build_files/build_environment/cmake/openmp.cmake | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/openmp.cmake b/build_files/build_environment/cmake/openmp.cmake new file mode 100644 index 00000000000..ba8e6248126 --- /dev/null +++ b/build_files/build_environment/cmake/openmp.cmake @@ -0,0 +1,32 @@ +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# ***** END GPL LICENSE BLOCK ***** + + +ExternalProject_Add(external_openmp + URL ${OPENMP_URI} + DOWNLOAD_DIR ${DOWNLOAD_DIR} + URL_HASH MD5=${OPENMP_HASH} + PREFIX ${BUILD_DIR}/openmp + CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBDIR}/openmp ${DEFAULT_CMAKE_FLAGS} + INSTALL_DIR ${LIBDIR}/clang +) + +add_dependencies( + external_openmp + external_clang +) |