[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50339] configure detection for BLAS does not
From: |
Kai Torben Ohlhus |
Subject: |
[Octave-bug-tracker] [bug #50339] configure detection for BLAS does not use -fdefault-integer-8 |
Date: |
Fri, 24 Feb 2017 17:42:44 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
Follow-up Comment #4, bug #50339 (project octave):
Thank you jwe. I have a custom built OpenBLAS, SuiteSparse, QRUPDATE, and
ARPACK-NG, each using 8 byte FORTRAN integers and changed SONAME to avoid any
conflict with system wide installed libraries. This has been working for
Octave 4.2.0.
My Makefile is available from
https://github.com/siko1056/GNU-Octave-enable-64/blob/dev/Makefile (from line
212 on) and would expand to something like (usually without the highlighted
line, this flag, if not passed, will not be used while detecting the custom
BLAS library):
./configure \
CPPFLAGS='-I$(INSTALL_DIR)/include' \
LDFLAGS='-L$(INSTALL_DIR)/lib' \
\
\
F77_INTEGER_8_FLAG='-fdefault-integer-8' \
\
\
LD_LIBRARY_PATH='$(INSTALL_DIR)/lib' \
--prefix=$(INSTALL_DIR) \
--libdir='$(INSTALL_DIR)/lib' \
--enable-64 \
--with-blas='-lopenblas_Octave64' \
--with-amd='-lamd_Octave64 \
-lsuitesparseconfig_Octave64' \
--with-camd='-lcamd_Octave64 \
-lsuitesparseconfig_Octave64' \
--with-colamd='-lcolamd_Octave64 \
-lsuitesparseconfig_Octave64' \
--with-ccolamd='-lccolamd_Octave64 \
-lsuitesparseconfig_Octave64' \
--with-cxsparse='-lcxsparse_Octave64 \
-lsuitesparseconfig_Octave64' \
--with-cholmod=-lamd_Octave64 \
-lcamd_Octave64 \
-lcolamd_Octave64 \
-lccolamd_Octave64 \
-lcxsparse_Octave64 \
-lumfpack_Octave64 \
-lcholmod_Octave64 \
-lsuitesparseconfig_Octave64 \
--with-umfpack=-lamd_Octave64 \
-lcamd_Octave64 \
-lcolamd_Octave64 \
-lccolamd_Octave64 \
-lcxsparse_Octave64 \
-lumfpack_Octave64 \
-lcholmod_Octave64 \
-lsuitesparseconfig_Octave64 \
--with-qrupdate='-lqrupdate_Octave64' \
--with-arpack='-larpack_Octave64'
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50339>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/