Update the add feelpp
package PR for spack
: add boost defaults, readline, python@:3.11
#5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@prudhomm @vincentchabannes, this "PR for the PR" contains the fixes that I've found so far:
distutils
: Incompatible withPython@3.12:
distutils
(which was removed in 3.12) withsetuptools
to support newer Python versions (and avoid build warnings about it too) in upstream feelpp itself.PS, further FIXMEs before the build can be done on a freshly installed host in spack:
spack
: Add${PUGIXML_INCLUDE_DIR}
totarget_include_directories
FMI4cpp#3PPS: Your last Merge branch 'develop' into 4-add-package-for-feelpp merged a two bad commit from the develop branch into your PR branch https://github.com/feelpp/spack/tree/4-add-package-for-feelpp:
These two bad commits have been reverted in develop afterwards, but your PR branch has not been updated or rebased to a newer develop that reverts those bad commits yet.
The result is that when trying to build
feelpp
, the spack compiler wrapper script (which are bad in this commit) are very very very very slow: A single compiler call has about one second of additional CPU time which makes all compiler probing take ages. This caused many builds in CI to take longer than 6 hours and was a cause of major failures and backlogs. Therefore, you need to urgently rebase it to a new develop branch before resuming test builds for testing your PR:When updating your branch, DO NOT USE "Update with merge commit" but "Update with rebase".
Using rebase keeps (or brings your commits) on top of the commit tree, which is what you want to review your commits.
You may also possibly consider squashing your commits for the new recipe into one to consolidate the commits (only now, not always) as many commits accumulated in the PR branch.