diff options
Diffstat (limited to 'meta-oe/recipes-devtools/octave/files/fix-blas-library-integer-size.patch')
| -rw-r--r-- | meta-oe/recipes-devtools/octave/files/fix-blas-library-integer-size.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/octave/files/fix-blas-library-integer-size.patch b/meta-oe/recipes-devtools/octave/files/fix-blas-library-integer-size.patch new file mode 100644 index 0000000000..e89d7d3466 --- /dev/null +++ b/meta-oe/recipes-devtools/octave/files/fix-blas-library-integer-size.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | diff -Naur octave-4.4.1.orig/configure.ac octave-4.4.1/configure.ac | ||
| 2 | --- octave-4.4.1.orig/configure.ac 2019-02-23 10:46:24.287240571 +0000 | ||
| 3 | +++ octave-4.4.1/configure.ac 2019-02-23 10:46:42.255249333 +0000 | ||
| 4 | @@ -762,6 +762,12 @@ | ||
| 5 | AC_MSG_ERROR([BLAS and LAPACK libraries are required]) | ||
| 6 | fi | ||
| 7 | |||
| 8 | +if ac_fn_f77_try_run "$LINENO"; then : | ||
| 9 | + ax_blas_integer_size=8 | ||
| 10 | +else | ||
| 11 | + ax_blas_integer_size=4 | ||
| 12 | +fi | ||
| 13 | + | ||
| 14 | case $ax_blas_integer_size in | ||
| 15 | 4) | ||
| 16 | HAVE_64_BIT_BLAS=no | ||
