[PATCH] D13803: [OPENMP] Make -fopenmp to turn on OpenMP support by default, clang part

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 9 21:50:26 PST 2015


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13803.42384.patch
Type: text/x-patch
Size: 1143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151210/70d57cd3/attachment.bin>


More information about the cfe-commits mailing list