-
Notifications
You must be signed in to change notification settings - Fork 90
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
pkg-config petsc (next) #1914
pkg-config petsc (next) #1914
Conversation
…-next Conflicts: src/fileio/datafile.cxx Use master version, where we do not add the same variable twice.
Looks like this has pulled in a bunch of commits from elsewhere. |
I merged master into next, as master contains e.g. a bug fix, that is not fixed in next:
|
…-next Conflicts: src/bout++.cxx
Replaced by #1999 |
Something went wrong with #1999 The configure.ac master history list the pkg-config change: However, the next one doesn't: |
If we cannot find PETSc with PETSC_DIR/PETSC_ARCH, we ask pkg-conf to determine PETSc version and required flags.
I had to cherry-pick the old commits. The CMake changes where still there, but the configure.ac changes where gone ... |
@ZedThree Can you please merge this? If you would like me to clean the history, let me know. |
Allow to use pkg-config to detect petsc.
PETSc provides pkg-config files. Unlike the normal method, this is less dependent on finding the magic files of petsc in various locations, and can be compatible with the FHS
#1913 for next