From da611dd81acfe1da2903e0e952a0efbef3c6d260 Mon Sep 17 00:00:00 2001 From: Christoph Conrads Date: Thu, 10 Aug 2017 11:48:29 -0400 Subject: [PATCH] ARM: recognize gfortran pre-releases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without proper recognition of gfortran versions such as > GNU Fortran (GCC) 4.9.x 20150123 (prerelease) OpenBLAS assumes the presence of the G77 compiler. Consequently, `-lgfortran` is missing from the pkg-config file. The aforementioned compiler is the gfortran compiler in the Android repo in a commit tagged as `ndk-r14`, cf. Paul Mustière's gfortran build instructions for Android at https://github.com/buffer51/android-gfortran --- f_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f_check b/f_check index f4380604b..b3e0311bc 100644 --- a/f_check +++ b/f_check @@ -71,7 +71,7 @@ if ($compiler eq "") { if ($data =~ /GNU/) { - $data =~ /(\d)\.(\d).(\d)/; + $data =~ /(\d)\.(\d).(.)/; $major = $1; $minor = $2;