openblas: Add route to f_check for Fujitsu compiler. (#11804)

This commit is contained in:
t-karatsu 2019-09-05 07:01:58 +09:00 committed by Greg Becker
parent 7f8fe11e4d
commit e08f527004
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- OpenBLAS-0.3.6/f_check 2019-04-30 02:22:19.000000000 +0900
+++ OpenBLAS-0.3.6/f_check_fix 2019-08-05 10:31:56.066962193 +0900
@@ -69,7 +69,10 @@
$bu = "_";
}
- if ($data =~ /GNU/) {
+ if ($data =~ /Fujitsu/) {
+ $vendor = FUJITSU;
+ $openmp = "-Kopenmp";
+ } elsif ($data =~ /GNU/) {
$data =~ /(\d)\.(\d).(\d)/;
$major = $1;

View File

@ -110,6 +110,9 @@ class Openblas(MakefilePackage):
sha256='f1b066a4481a50678caeb7656bf3e6764f45619686ac465f257c8017a2dc1ff0',
when='@0.3.0:0.3.3')
# Add conditions to f_check to determine the Fujitsu compiler
patch('openblas_fujitsu.patch', when='%fj')
conflicts('%intel@16', when='@0.2.15:0.2.19')
@property