Skip to content
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

spack-reusable: investigate cmake and gcc usage #65

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

nicolaslg
Copy link
Collaborator

In our spack-cgcore-1.8 container the dependencies were built using spack against cmake-3.30.5.

In our products CIs that use spack-reusable.yml it seems that cmake-3.27.9 (the preferred version in spack-0.22.2) is used for the packages to compile :
https://github.com/LIHPC-Computational-Geometry/magix3d/actions/runs/11831454053/job/32966626392#step:5:43

Adding the call to spack external find cmake seems to address to anomaly and now we make use of the cmake-3.30.5 declared as external; as an added bonus we gain 7min in the CIs execution time (see https://github.com/LIHPC-Computational-Geometry/magix3d/actions/runs/11864380050/job/33067703385)

I am not sure why it is necessary to make this call to find cmake, as the spack user configuration files from the container should have stored this info, whereas we do not need to make a call to find the compiler.

@nicolaslg nicolaslg merged commit 5314c68 into main Nov 16, 2024
6 checks passed
@nicolaslg nicolaslg deleted the spack-reusable_investigate_cmake_gcc_use branch November 16, 2024 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant