Commit 48eb2a83 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Build system: fix workaround for 64-bit integers in Fortran code

parent 010c4c0c
......@@ -45,7 +45,6 @@ case ${MATLAB_ARCH} in
else # glnxa64
MATLAB_CFLAGS="$MATLAB_CFLAGS -fno-omit-frame-pointer"
MATLAB_CXXFLAGS="$MATLAB_CXXFLAGS -fno-omit-frame-pointer"
MATLAB_FFLAGS="$MATLAB_FFLAGS -fdefault-integer-8"
......@@ -85,6 +84,11 @@ case ${MATLAB_ARCH} in
# Starting from MATLAB 7.8, on 64-bit platforms, BLAS and LAPACK expect 64-bit integers, so make it the default for integers in Fortran code
if test "${MATLAB_ARCH}" = "glnxa64" -o "${MATLAB_ARCH}" = "win64" -o "${MATLAB_ARCH}" = "maci64"; then
# Converts the MATLAB version number into comparable integers with only major and minor version numbers
# For example, 7.4.2 will become 0704
ax_matlab_ver=`echo "$MATLAB_VERSION" | $SED -e 's/\([[0-9]]*\)\.\([[0-9]]*\).*/Z\1ZZ\2Z/' \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment