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
Update cmake dep for tau #43836
Update cmake dep for tau #43836
Conversation
@alexrichert Do you have a spec that works for you with tau%aocc (with this change)? It fails to build for me in spack, I believe because spack is being stingy with compiler access in its build environment.
|
Do any other reviewers object to this change? Looks good to me. |
@wspear what does
|
There's something weird going on here. In the build-env gcc is /usr/bin/gcc which gives the correct version. When I try to build tau with aocc in the build-env I see the same error (it works fine outside the build-env), but when I run the gcc command directly in the build-env it works. It's unrelated to this PR anyway so I think we're good to merge. |
Sounds good, thanks. It's a bit of a long shot, but you might try renaming the 'gcc' directory associated with Spack's compilers and see if that makes the error go away. Some time ago with a different package I ran into a weird gmake bug where it was trying to execute that directory as an executable... 🙃 |
@alexrichert Good call! If I give tau a dependency on gmake it works. Must have been an issue with the system gmake. PR inbound. |
Nice! Yeah basically in older versions of gmake, when it searches $PATH, it doesn't bother to distinguish between executables and directories... |
This PR adds cmake as a dependency for tau%aocc (build fails if cmake not in $PATH).