Skip to content

OpenMP issue of Clang #1

@my-HenryS

Description

@my-HenryS

Hi Filippo,

I happened to find your repo when searching for the usage of 'OMPExecutableDirective' on github.

I am trying to build a clang tool and one of the tasks is to find all #pragma in a program that relates to OpenMP. A striaghtforward way is to traverse the AST and check every Stmt if it is a 'OMPExecutableDirective'. However, it seems that the tool does not work as expected (it cannot find any omp #pragma) and it might be that my Clang/LLVM 3.5.0 does not support OpenMP.

I also tried clang-omp and built a library 'libiomp5.so' from that. It still does not work.

Would you mind sharing your environment (Clang/LLVM) you used for this repo? Are there any special steps that was taken to make Clang working with OpenMP.

Thanks,
Jinghan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions