[PATCH] [OPENMP] -fopenmp enables OpenMP support (fix for http://llvm.org/PR23492)

Alexey Bataev a.bataev at hotmail.com
Wed May 13 00:12:40 PDT 2015


Hi chandlerc, rsmith,

-fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified).

http://reviews.llvm.org/D9736

Files:
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/OpenMP/linking.c
  test/OpenMP/openmp_common.c
  test/OpenMP/predefined_macro.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9736.25664.patch
Type: text/x-patch
Size: 7389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150513/13c4129c/attachment.bin>


More information about the cfe-commits mailing list