Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#46821 - [clang] OpenMP support
Attached to Project:
Arch Linux
Opened by Maciek Borzecki (bboozzoo) - Wednesday, 21 October 2015, 19:54 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 26 October 2015, 01:40 GMT
Opened by Maciek Borzecki (bboozzoo) - Wednesday, 21 October 2015, 19:54 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 26 October 2015, 01:40 GMT
|
DetailsDescription:
Clang supports OpenMP 3.1 since 3.7 release with OpenMP 4.0 coming in 3.8 and subsequent releases. The support is enabled by passing `-fopenmp=libomp` in command line. It is my understanding that libomp might actually be a separate package http://openmp.llvm.org/ so to actually use LLVM's version of OpenMP we might need an additional package. Since clang's functionality is limited as this point I'm filing this bug for clang at this point. Additional info: local/clang 3.7.0-4 local/clang 3.7.0-4 local/lib32-llvm-libs 3.7.0-2 local/llvm 3.7.0-4 local/llvm-libs 3.7.0-4 |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Monday, 26 October 2015, 01:40 GMT
Reason for closing: Implemented
Additional comments about closing: openmp 3.7.0-1
Monday, 26 October 2015, 01:40 GMT
Reason for closing: Implemented
Additional comments about closing: openmp 3.7.0-1
clang -fopenmp=libomp testprog.c
fails il testprog.c contains
#include <omp.h>,
and "find /usr/include/clang* -name omp.h" does not find anything.
Any OpenMP "hello-world like" program will do, for example: https://computing.llnl.gov/tutorials/openMP/samples/C/omp_hello.c