Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenMP with Clang #1

Open
my-HenryS opened this issue Jul 3, 2019 · 0 comments
Open

OpenMP with Clang #1

my-HenryS opened this issue Jul 3, 2019 · 0 comments

Comments

@my-HenryS
Copy link

my-HenryS commented Jul 3, 2019

Hi lalanne,

I happened to find your repo when searching for the usage of 'isa<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 if the Stmt is a 'OMPExecutableDirective'. However, it seems that the tool does not work as expected 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 'StoSClangExperiment' repo? And what are the steps to make your code work for OpenMP?

Thanks,
Jinghan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant