[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-511-g22db66f
Brad King
brad.king at kitware.com
Thu Feb 23 10:02:17 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 22db66f0aa60018e26af1bdc3efc84ef77c1b154 (commit)
via 9dc7a2ed2cbc36d9b6a9286822020a5da2536df2 (commit)
from fe5a2d877f809d13961d3c21a3661275257ce2e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=22db66f0aa60018e26af1bdc3efc84ef77c1b154
commit 22db66f0aa60018e26af1bdc3efc84ef77c1b154
Merge: fe5a2d8 9dc7a2e
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Feb 23 10:02:16 2017 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Feb 23 10:02:16 2017 -0500
Merge topic 'find_openmp_clang_patch' into next
9dc7a2ed FindOpenMP: Add iomp5 variant of Clang OpenMP flags
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9dc7a2ed2cbc36d9b6a9286822020a5da2536df2
commit 9dc7a2ed2cbc36d9b6a9286822020a5da2536df2
Author: Lucas Czech <luc at s-cze.ch>
AuthorDate: Thu Feb 23 15:27:29 2017 +0100
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Feb 23 09:59:46 2017 -0500
FindOpenMP: Add iomp5 variant of Clang OpenMP flags
Try `-fopenmp=libiomp5` in addition to `-fopenmp=libomp`. Leave the
latter as the default that we try first when the compiler id is `Clang`.
If that does not work we will still fall back to trying all the
candidates and eventually get to the iomp5 variant.
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake
index 2ee9439..f399836 100644
--- a/Modules/FindOpenMP.cmake
+++ b/Modules/FindOpenMP.cmake
@@ -48,6 +48,7 @@ function(_OPENMP_FLAG_CANDIDATES LANG)
#GNU
"-fopenmp"
#Clang
+ "-fopenmp=libiomp5"
"-fopenmp=libomp"
#Microsoft Visual Studio
"/openmp"
-----------------------------------------------------------------------
Summary of changes:
Modules/FindOpenMP.cmake | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list