This revision was automatically updated to reflect the committed changes. Closed by commit rL255223: [OPENMP] Make -fopenmp to turn on OpenMP support by default, clang part (authored by ABataev).
Changed prior to commit: http://reviews.llvm.org/D13803?vs=37574&id=42384#toc Repository: rL LLVM http://reviews.llvm.org/D13803 Files: cfe/trunk/CMakeLists.txt cfe/trunk/docs/UsersManual.rst Index: cfe/trunk/docs/UsersManual.rst =================================================================== --- cfe/trunk/docs/UsersManual.rst +++ cfe/trunk/docs/UsersManual.rst @@ -1825,8 +1825,8 @@ 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 --------------------------------- Index: cfe/trunk/CMakeLists.txt =================================================================== --- cfe/trunk/CMakeLists.txt +++ cfe/trunk/CMakeLists.txt @@ -196,7 +196,7 @@ set(DEFAULT_SYSROOT "" CACHE PATH "Default <path> to all compiler invocations for --sysroot=<path>." ) -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
Index: cfe/trunk/docs/UsersManual.rst =================================================================== --- cfe/trunk/docs/UsersManual.rst +++ cfe/trunk/docs/UsersManual.rst @@ -1825,8 +1825,8 @@ 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 --------------------------------- Index: cfe/trunk/CMakeLists.txt =================================================================== --- cfe/trunk/CMakeLists.txt +++ cfe/trunk/CMakeLists.txt @@ -196,7 +196,7 @@ set(DEFAULT_SYSROOT "" CACHE PATH "Default <path> to all compiler invocations for --sysroot=<path>." ) -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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits