summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/perl/package.py')
-rw-r--r--var/spack/repos/builtin/packages/perl/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl/package.py b/var/spack/repos/builtin/packages/perl/package.py
index 27eba5d8c7..e04b9c5af0 100644
--- a/var/spack/repos/builtin/packages/perl/package.py
+++ b/var/spack/repos/builtin/packages/perl/package.py
@@ -77,6 +77,9 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
# https://github.com/Perl/perl5/pull/17946
patch('macos-11-version-check.patch', when='@5.24.1:5.32.0 platform=darwin')
+ # Enable builds with the NVIDIA compiler
+ patch('nvhpc.patch', when='%nvhpc')
+
# Installing cpanm alongside the core makes it safe and simple for
# people/projects to install their own sets of perl modules. Not
# having it in core increases the "energy of activation" for doing