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

Absolute path in configure #28

Closed
wants to merge 5 commits into from
Closed

Absolute path in configure #28

wants to merge 5 commits into from

Conversation

scemama
Copy link

@scemama scemama commented Jan 21, 2018

On the cluster I use, by default we have a very old version of gcc. To use a newer version of gcc, we need to load a module. In that case, the CC variable is defined as /opt/pb/gcc-4.9.2/bin/gcc which is an absolute path, and zarith can't compile.

When the binary is not found in any of the $PATH, I added a test to see if it is defined as an absolute path (starts with a '/'), and to see if it is executable.

@xavierleroy
Copy link
Contributor

Thanks for reporting this issue. I fixed it a little bit differently from your code, see commit 6681ae1 . LEt me know if any problems remain.

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

Successfully merging this pull request may close these issues.

None yet

2 participants