From: Alexey Bataev Date: Thu, 10 Dec 2015 05:47:10 +0000 (+0000) Subject: [OPENMP] Make -fopenmp to turn on OpenMP support by default, clang part X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c32202cdce26a9c0fbe3f5adb2546fca9ce3ac04;p=clang [OPENMP] Make -fopenmp to turn on OpenMP support by default, clang part Patch turns on OpenMP support in clang by default after fixing OpenMP buildbots. Differential Revision: http://reviews.llvm.org/D13803 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255223 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ba7926bd14..bc1036ffe9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,7 +196,7 @@ set(GCC_INSTALL_PREFIX "" CACHE PATH "Directory where gcc is installed." ) set(DEFAULT_SYSROOT "" CACHE PATH "Default to all compiler invocations for --sysroot=." ) -set(CLANG_DEFAULT_OPENMP_RUNTIME "libgomp" CACHE STRING +set(CLANG_DEFAULT_OPENMP_RUNTIME "libomp" CACHE STRING "Default OpenMP runtime used by -fopenmp.") set(CLANG_VENDOR "" CACHE STRING diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index 536ab6dda7..3226014b41 100644 --- a/docs/UsersManual.rst +++ b/docs/UsersManual.rst @@ -1825,8 +1825,8 @@ directives, ``depend`` clause for ``#pragma omp task`` directive (except for array sections), ``#pragma omp cancel`` and ``#pragma omp cancellation point`` directives, and ``#pragma omp taskgroup`` directive. -OpenMP support is disabled by default. Use :option:`-fopenmp=libomp` to enable -it. Support for OpenMP can be disabled with :option:`-fno-openmp`. +Use :option:`-fopenmp` to enable OpenMP. Support for OpenMP can be disabled with +:option:`-fno-openmp`. Controlling implementation limits ---------------------------------