CloverLeaf: Package updates#37987
CloverLeaf: Package updates#37987amd-toolchain-support wants to merge 7 commits intospack:developfrom
Conversation
…occ_support.patch.
|
Hi @amd-toolchain-support! I noticed that the following package(s) don't yet have maintainers:
Are you interested in adopting any of these package(s)? If so, simply add the following to the package class: maintainers("amd-toolchain-support")If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with $ spack blame cloverleafThank you for your help! Please don't add maintainers without their consent. You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer. |
There was a problem hiding this comment.
I see that https://github.com/UK-MAC/CloverLeaf is the master repository, that drives the build of all the others. I would keep that as the only one we're using and clone it recursing on submodules. Instead of encoding features in the version name, let's use variants. 🙂
|
The old Submodules are able to downlead only a specific version of each repository, which is hardcoded to an outdated version (i.e., 3 years old "hashed" version for _ref) in Cloverleaf main page. Moreover, more recent versions have been implemented (e.g, v1.3 and master). Since the Cloverleaf main page is just a place holder for the real repos (e.g. https://github.com/UK-MAC/CloverLeaf_ref) we'd be inclined to split the packages each of them referring to a specific case. A prototype could be: where type is: ref, mpi, cuda, .... and with a package.py header as following: |
|
@amd-toolchain-support Thanks for the additional information. It would be good to put that in the description of the PR at some point.
That would be fine with me, please ping for another review when done. If in the future we add the ability to have spec dependent sources, we can think of unifying the recipes again. |
|
Following the feedback above, a new package for Cloverleaf-ref has been proposed and The Status of this PR can be updated. |
Not sure I understand what you mean. In any case, feel free to update the status of the PR. |
This PR updates the CloverLeaf recipe and adds AOCC related fixes