ACCESS-NRI / spack-config

Shared spack configuration
Apache License 2.0
1 stars 0 forks source link

v0.20/ci/packages.yaml: use system perl #22

Closed harshula closed 8 months ago

harshula commented 8 months ago

The Spack config for gadi already uses system perl. See v0.20/gadi/packages.yaml. We should do the same in the Spack config for CI.

CodeGat commented 8 months ago

Although I'm happy to approve this because syntactically it looks good, I don't really understand what any of the flags mean - @aidanheerdegen might be better placed to understand the semantics of it. Although, if you want to teach me one time, that'd be great too! 😁

aidanheerdegen commented 8 months ago

Although I'm happy to approve this because syntactically it looks good, I don't really understand what any of the flags mean

I guess you're referring to the variant specifiers ~cpanm+shared+threads in the spec?

    - spec: perl@5.26.3~cpanm+shared+threads

I assume they are what is auto-detected with a spack find perl from the standard installed Perl. Is that correct @harshula?

harshula commented 8 months ago

Hi @aidanheerdegen, Do you remember why you defined the spec that way? I think it's copied directly from your old packages.yaml. i.e. From the following commit:

commit 8b156bf85bdf96398eff98589cd510d8e64e6930
Author: Aidan Heerdegen <aidan.heerdegen@anu.edu.au>
Date:   Mon Oct 31 15:40:33 2022 +1100

    Initial commit of packages.yaml config file

I found that Spack defaults to:

0.19.x: perl@5.35.0+cpanm+shared+threads
0.20.3: perl@5.36.0+cpanm+open+shared+threads
0.21.1: perl@5.38.0+cpanm+opcode+open+shared+threads