Skip to content

Commit a88f007

Browse files
committed
Merge pull request open-mpi#1151 from ggouaillardet/topic/v2.x/solarisstudiodev
autogen: patch configure in order to correctly detect Solaris Studio …
2 parents cf3ec6c + cf7ea92 commit a88f007

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

autogen.pl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Copyright (c) 2013 Mellanox Technologies, Inc.
66
# All rights reserved.
77
# Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
8-
# Copyright (c) 2015 Research Organization for Information Science
8+
# Copyright (c) 2015-2016 Research Organization for Information Science
99
# and Technology (RIST). All rights reserved.
1010
# Copyright (c) 2015 IBM Corporation. All rights reserved.
1111
#
@@ -977,6 +977,12 @@ sub patch_autotools_output {
977977
$c =~ s/$search_string/$replace_string/;
978978
}
979979

980+
# Oracle has apparently begun (as of 12.5-beta) removing the "Sun" branding.
981+
# So this patch (cumulative over the previous one) is required.
982+
push(@verbose_out, $indent_str . "Patching configure for Oracle Studio Fortran version strings\n");
983+
$c =~ s/\*Sun\*Fortran\*\)/*Sun*Fortran* | *Studio*Fortran*)/g;
984+
$c =~ s/\*Sun\\ F\*\)(.*\n\s+tmp_sharedflag=)/*Sun\\ F* | *Studio*Fortran*)$1/g;
985+
980986
# See http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=v2.2.6-201-g519bf91 for details
981987
# Note that this issue was fixed in LT 2.2.8, however most distros are still using 2.2.6b
982988

0 commit comments

Comments
 (0)