[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversio
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide) |
Date: |
Thu, 4 Nov 2021 15:14:57 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #34, bug #61246 (project octave):
Oh, I misread an "ifneq" as an "ifeq".
Did you remove the part that sets EXTRALIB=-lxerbla? The build works for me
with the following change, so I pushed it.
diff --git a/src/openblas.mk b/src/openblas.mk
--- a/src/openblas.mk
+++ b/src/openblas.mk
@@ -26,7 +26,7 @@ endif
$(PKG)_MAKE_OPTS := \
PREFIX=$(HOST_PREFIX) \
- DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 \
+ DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 TARGET=GENERIC \
NO_LAPACK=1 NO_CBLAS=1 \
USE_THREAD=1 NUM_THREADS=24 \
CC=$($(PKG)_MXE_CC) FC=$($(PKG)_MXE_F77)
@@ -36,18 +36,10 @@ ifneq ($(MXE_NATIVE_BUILD),yes)
$(PKG)_MAKE_OPTS += HOSTCC=gcc HOSTFC=gfortran CROSS=1
CROSS_SUFFIX=$(MXE_TOOL_PREFIX)
endif
-## Assume that native builds are for a 64bit target
-$(PKG)_TARGET := PRESCOTT
-
ifeq ($(MXE_WINDOWS_BUILD),yes)
$(PKG)_MAKE_OPTS += EXTRALIB=-lxerbla
- ifneq ($(ENABLE_WINDOWS_64),yes)
- $(PKG)_TARGET := KATMAI
- endif
endif
-$(PKG)_MAKE_OPTS += TARGET=$($(PKG)_TARGET)
-
ifeq ($(ENABLE_FORTRAN_INT64),yes)
$(PKG)_MAKE_OPTS += BINARY=64 INTERFACE64=1
endif
I would have posted a link but the web server for the mxe-octave archive seems
to be broken at the moment. I'll see about fixing that.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61246>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide), Markus Mützel, 2021/11/04
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide), John W. Eaton, 2021/11/04
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide), Markus Mützel, 2021/11/04
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide),
John W. Eaton <=
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide), Markus Mützel, 2021/11/04
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide), Markus Mützel, 2021/11/09
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide), Markus Mützel, 2021/11/09
- [Octave-bug-tracker] [bug #61246] [mxe octave] openblas: matrix inversions give wrong results (inv, lu, mldivide), Markus Mützel, 2021/11/14