diff options
author | Alex Richert <82525672+AlexanderRichert-NOAA@users.noreply.github.com> | 2023-03-30 10:07:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 13:07:33 -0400 |
commit | f5624f096c1fe2947d464a8ecbba37a6f7277cc6 (patch) | |
tree | 4d687ed404fe6c8b649d70c240b52c70c8ab949e /var | |
parent | d82fc158ca0c9c3296c8b77607ccaa8e34882bfb (diff) | |
download | spack-f5624f096c1fe2947d464a8ecbba37a6f7277cc6.tar.gz spack-f5624f096c1fe2947d464a8ecbba37a6f7277cc6.tar.bz2 spack-f5624f096c1fe2947d464a8ecbba37a6f7277cc6.tar.xz spack-f5624f096c1fe2947d464a8ecbba37a6f7277cc6.zip |
perl: add patching to allow building with intel@19.1.3 (#35666)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/perl/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl/package.py b/var/spack/repos/builtin/packages/perl/package.py index 36829578eb..16ca59508c 100644 --- a/var/spack/repos/builtin/packages/perl/package.py +++ b/var/spack/repos/builtin/packages/perl/package.py @@ -152,6 +152,10 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package # https://github.com/Perl/perl5/issues/15544 long PATH(>1000 chars) fails a test os.chmod("lib/perlbug.t", 0o644) filter_file("!/$B/", "! (/(?:$B|PATH)/)", "lib/perlbug.t") + # Several non-existent flags cause Intel@19.1.3 to fail + with when("%intel@19.1.3"): + os.chmod("hints/linux.sh", 0o644) + filter_file("-we147 -mp -no-gcc", "", "hints/linux.sh") @classmethod def determine_version(cls, exe): |