[omp] Actually provide a default OpenMP runtime -- libgomp for now.
authorChandler Carruth <chandlerc@gmail.com>
Thu, 28 May 2015 02:17:15 +0000 (02:17 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 28 May 2015 02:17:15 +0000 (02:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238390 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 5ca40ec373b6af0d5f44192e8aa6785620621e87..390d22e15c2ca5e8ea6cf403b7b771099591dbbf 100644 (file)
@@ -1340,7 +1340,7 @@ AC_DEFINE_UNQUOTED(DEFAULT_SYSROOT,"$withval",
 AC_ARG_WITH(clang-default-openmp-runtime,
   AS_HELP_STRING([--with-clang-default-openmp-runtime],
     [The default OpenMP runtime for Clang.]),,
 AC_ARG_WITH(clang-default-openmp-runtime,
   AS_HELP_STRING([--with-clang-default-openmp-runtime],
     [The default OpenMP runtime for Clang.]),,
-    withval="")
+    withval="libgomp")
 AC_DEFINE_UNQUOTED(CLANG_DEFAULT_OPENMP_RUNTIME,"$withval",
                    [Default OpenMP runtime used by -fopenmp.])
 
 AC_DEFINE_UNQUOTED(CLANG_DEFAULT_OPENMP_RUNTIME,"$withval",
                    [Default OpenMP runtime used by -fopenmp.])
 
index b3ccccbb881c65eda93753ffac3d67870fe50799..254f7e0eb8529229e97747e851f354c634927a67 100755 (executable)
--- a/configure
+++ b/configure
@@ -5954,7 +5954,7 @@ _ACEOF
 if test "${with_clang_default_openmp_runtime+set}" = set; then
   withval=$with_clang_default_openmp_runtime;
 else
 if test "${with_clang_default_openmp_runtime+set}" = set; then
   withval=$with_clang_default_openmp_runtime;
 else
-  withval=""
+  withval="libgomp"
 fi
 
 
 fi