[llvm-dev] OpenMP Error in Clang (original) (raw)
Chatterjee, Bodhisatwa via llvm-dev llvm-dev at lists.llvm.org
Tue May 26 18:29:21 PDT 2020
- Previous message: [llvm-dev] [cfe-dev] [RFC] Loading Bitfields with Smallest Needed Types
- Next message: [llvm-dev] OpenMP Error in Clang
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I am getting the following error while trying to build a benchmark with a custom function pass:
clang -Xclang -fopenmp=libomp -Xclang -load -Xclang my_lib.so file.c
error: unknown argument: '-fopenmp=libomp'
If I use this instead:
clang -Xclang -fopenmp=libomp -Xclang -load -Xclang my_lib.so file.c
I get the error: fatal error: 'omp.h' file not found
I am not sure where the problem is, especially since I have used OpenMP applications with llvm before.
Thanks, Bodhi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200527/70899f4f/attachment.html>
- Previous message: [llvm-dev] [cfe-dev] [RFC] Loading Bitfields with Smallest Needed Types
- Next message: [llvm-dev] OpenMP Error in Clang
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]