]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Switch the default OpenMP runtime for clang to libomp (from the LLVM
authordim <dim@FreeBSD.org>
Sun, 18 Oct 2015 17:18:19 +0000 (17:18 +0000)
committerdim <dim@FreeBSD.org>
Sun, 18 Oct 2015 17:18:19 +0000 (17:18 +0000)
project), as libgomp is not supported anyway.  You can use the
devel/llvm-devel port to install a recent copy of the OpenMP runtime.

lib/clang/include/clang/Config/config.h
lib/clang/include/llvm/Config/config.h

index 7ab95a0a1901769c1bfbb2d3922b3963f0b39489..fecc361e1199de3ce55eb325c1342acebf5cc849 100644 (file)
@@ -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 ""
index bae066c96904b77d63c9469072309bc853c9f57d..ef7295cb380a281d07ff17350cbe90be60f715cb 100644 (file)
@@ -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 */