ACCESS-NRI / spack-config

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

packages.yaml: do not define variants in the perl spec #40

Closed harshula closed 2 months ago

harshula commented 2 months ago

Fixes https://github.com/ACCESS-NRI/spack-config/issues/23

harshula commented 2 months ago

Thanks @aidanheerdegen for the background information. I did the following additional tests to confirm that Spack no longer builds perl:

Docker container:

# spack install perl %intel@2021.2.0 target=x86_64
[+] /usr (external perl-5.26.3-3qsufznpxm2vlta3zm63ks3iqvgc3qye)
# spack find --variants perl
-- linux-rocky8-x86_64 / intel@2021.2.0 -------------------------
perl@5.26.3+cpanm+opcode+open+shared+threads build_system=generic patches=8cf4302
==> 1 installed package

Gadi:

$ spack install perl %intel@19.0.5.281 target=x86_64
[+] /usr (external perl-5.26.3-jr4rnhejs3dgbj76j7wuqev72znnogab)
$ spack find --variants perl
-- linux-rocky8-x86_64 / intel@19.0.5.281 -----------------------
perl@5.26.3+cpanm+opcode+open+shared+threads build_system=generic patches=8cf4302
==> 1 installed package