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

aomp include search order finds /usr/local/include /usr/include before its localized include #6

Closed
ronlieb opened this issue Mar 26, 2019 · 1 comment
Assignees

Comments

@ronlieb
Copy link
Contributor

ronlieb commented Mar 26, 2019

our aomp product searches /usr/local/include:/usr/include:
this leads to issues if the compiler package has newer definitions of omp related functionality inside omp.h. and there exists a file omp.h in the preceding include paths.

This can be worked around with an -isystem option
-isystem/home/rlieberm/rocm/aomp/include

@ronlieb ronlieb self-assigned this Mar 26, 2019
@ronlieb
Copy link
Contributor Author

ronlieb commented May 12, 2019

commit eac7e13bbf6fa164e926e420d318ea3e3c8d08bb
Author: Ron Lieberman ron.lieberman@amd.com
Date: Sat May 11 20:04:41 2019 -0500

Add our AOMP/include before /usr/local/include

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