Author: dim
Date: Sun Oct 18 17:18:19 2015
New Revision: 289525
URL: https://svnweb.freebsd.org/changeset/base/289525

Log:
  Switch the default OpenMP runtime for clang to libomp (from the LLVM
  project), as libgomp is not supported anyway.  You can use the
  devel/llvm-devel port to install a recent copy of the OpenMP runtime.

Modified:
  head/lib/clang/include/clang/Config/config.h
  head/lib/clang/include/llvm/Config/config.h

Modified: head/lib/clang/include/clang/Config/config.h
==============================================================================
--- head/lib/clang/include/clang/Config/config.h        Sun Oct 18 17:14:45 
2015        (r289524)
+++ head/lib/clang/include/clang/Config/config.h        Sun Oct 18 17:18:19 
2015        (r289525)
@@ -11,7 +11,7 @@
 #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/";
 
 /* Default OpenMP runtime used by -fopenmp. */
-#define CLANG_DEFAULT_OPENMP_RUNTIME "libgomp"
+#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
 
 /* Multilib suffix for libdir. */
 #define CLANG_LIBDIR_SUFFIX ""

Modified: head/lib/clang/include/llvm/Config/config.h
==============================================================================
--- head/lib/clang/include/llvm/Config/config.h Sun Oct 18 17:14:45 2015        
(r289524)
+++ head/lib/clang/include/llvm/Config/config.h Sun Oct 18 17:18:19 2015        
(r289525)
@@ -15,7 +15,7 @@
 #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/";
 
 /* Default OpenMP runtime used by -fopenmp. */
-#define CLANG_DEFAULT_OPENMP_RUNTIME "libgomp"
+#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
 
 /* Define if we have libxml2 */
 /* #undef CLANG_HAVE_LIBXML */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to