perl: add patching to allow building with intel@19.1.3 (#35666)
This commit is contained in:
parent
d82fc158ca
commit
f5624f096c
@ -152,6 +152,10 @@ def patch(self):
|
|||||||
# https://github.com/Perl/perl5/issues/15544 long PATH(>1000 chars) fails a test
|
# https://github.com/Perl/perl5/issues/15544 long PATH(>1000 chars) fails a test
|
||||||
os.chmod("lib/perlbug.t", 0o644)
|
os.chmod("lib/perlbug.t", 0o644)
|
||||||
filter_file("!/$B/", "! (/(?:$B|PATH)/)", "lib/perlbug.t")
|
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
|
@classmethod
|
||||||
def determine_version(cls, exe):
|
def determine_version(cls, exe):
|
||||||
|
Loading…
Reference in New Issue
Block a user