-
Notifications
You must be signed in to change notification settings - Fork 129
Fix header and pkg-config file installation #426
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
base: master
Are you sure you want to change the base?
Conversation
Likely conflict with #425. Can you rebase? Note: #425 killed |
The autotools build is configured to skip entire directories depending on the configuration. Each directory's Makefile is responsible for installing what it needs, and moving the .pc files to the toplevel broke that. In the pkg-config files, leave ${includedir} unmodified from how configure defines it.
1c0cf7f
to
6f92e7c
Compare
@fghoussen Done. Looks like you've already fixed a couple of the same issues I found. I did just notice that CMake is installing arpackicb.h even when the ICB option is not enabled, is that a bug? |
I'll have a closer look when possible.
Yep ! :)
AFAIR, |
I think arpackicb.h can be installed only when OCB=ON. afd8413 will tell... |
I looked into a couple different ways to do it and I wasn't happy with either. The makefiles would reference things outside of their directory, or we would add more conditional stuff at the toplevel that is easy to mess up. I think it's better to keep the .pc files along with the library code that each .pc file is supposed to describe. What about moving your test scripts to a common test directory instead? The .pc files aren't specific to any particular build system (unlike cmake) so they don't need to live alongside the autotools test. |
I have never been happy with that neither but I'd like at least to keep things symmetric.
That's why at some point I moved all files (
There is 1 |
I don't know enough about cmake to have an opinion on this. For pkg-config the best practice seems to be having one .pc description file for each library/module. |
IMO, the repo should be symmetric (as arpack is!). |
This reverts some undesirable changes introduced in the 3.9.0 release:
${includedir}/arpack-pc
back to${includedir}/arpack
(started in [BUG FIX] Fix install: headers in /path/to/local/include/arpack #398 but was missing some files).