-
Notifications
You must be signed in to change notification settings - Fork 37
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
Use GNUInstallDirs
to fix installation problems on mac
#957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! This bit me in a previous project and I forgot about it. Good catch! I think this is a sufficiently trivial fix we don't need changelog, etc...
P.S., We often work on branches in parthenon, rather than forks. Would you like push access so you can make those?
Thanks! Push access would be great. |
Done |
Is the CI failure due to the fork workflow or just some random error? |
Looks to me like the CI machine had some internet connection issue: for file: [/__w/parthenon/parthenon/tst/regression/gold_standard/parthenon_regression_gold_v19.tgz]
expected hash: [e1d1a06b9cf9b761d42d0b6b241056ac75658db90138b6b867b1ca7ead4308af4f980285af092b40aee1dbbfb68b4e8cb15efcc9b83d7930c18bf992ae95c729]
actual hash: [cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e]
status: [52;"Server returned nothing (no headers, no **data)"]** If this persists, you might try moving from a fork to a branch. It's possible the CI machine doesn't like running forks. (I vaguely remember hitting that previously) |
d56b502
to
d5896fe
Compare
The CI error might have been related to a network outage here (in addition to coming from a fork). I had a look at the code and do not really understand what the issue was and why the proposed changes fix it. |
The install part was relying on I'll remove the draft status after I sort things out. |
d5896fe
to
2979eea
Compare
This is ready. I've tested out the installed parthenon with riot and that works so this is probably doing the right thing. |
@pgrete @pdmullen @jdolence @BenWibking @lroberts36 @forrestglines can we get one more approval? |
I would be happy to approve this (hence instantiating the auto-merge), but @pgrete raised some concerns above, so I think it best that he takes a look too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I just tested that at least locally this works as expected and it does!
I'm approving (tough I think it'd be nice to also add it to the changelog so that people like @anku94 who use it as library know that there was a change related how the install works/behaves).
Looks like I had to re-enable auto-merge to trigger the extended CI tests. |
Style check still doesn't seem to trigger for forks. As the extended test pass I'm manually pulling the trigger. |
PR Summary
A
make install
on my mac generated the following error:This PR uses
GNUInstallDirs
to ensure things are defined. The installed directory structure looks correct but I've never installed it before so...PR Checklist