# octave/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. Regarding the dependency list: This package also needs "gfortran", but that's part of the main gcc package. #--------------------------------------------------------------------- 2. "octave" uses a set of libraries known as "lapack". If the system's version of "lapack" is used (as opposed to the version that comes with "octave"), the system's version must be built a certain way, or the "octave" build process (and/or "octave" itself) may lock up. The required "lapack" change is as follows: In the "make.inc" file that's used to build "lapack", the parameters OPT and NOOPT must be set as shown below: OPTS = -mieee-fp -ffloat-store -fPIC -O2 NOOPT = -mieee-fp -ffloat-store -fPIC #--------------------------------------------------------------------- 3. "octave" 3.4.2 required "qhull" 2003.1 (neither older nor newer) built with CFLAGS equal to (or containing) the following compiler flag: -fno-strict-aliasing As of 2018, it wasn't known whether or not this requirement was still in effect for newer releases of "octave". #--------------------------------------------------------------------- [buildtimes] 00.21 hours (or 012.62 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.80 hours (or 048.20 minutes) - ThinkPad E540 i7 4x2 16GB RAM 01.04 hours (or 062.58 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 03.39 hours (or 203.17 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes dontfind = fltk11 exepack = yes forcepic = yes license = See "license*.txt" in installed tree licfile = COPYING nls = disabled tmpsize = 4625M setpaths = \ fltk13 gcc graphicsmagick lapack octave openblas \ portaudio19 qt5 xorg #--------------------------------------------------------------------- [depends] actools bison3 curl fftw flex fltk13 fontconfig freetype2 gawk ghostscript gl2ps gnuplot gperf graphicsmagick grep java lapack less libglpk libhdf5 # 1.8.X or above ncurses openblas pcre perl portaudio19 python qhull qrupdate qt5 readline sed texinfo xorg zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE CFLAGS="-fPIC" \ bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --enable-readline \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE \ \ --with-blas=$PRODTREE/lapack/lib/libblas.so \ --with-lapack=$PRODTREE/lapack/lib/liblapack.so #--------------------------------------------------------------------- [build] PATH=`pwd`:$PATH smpmake smpmake install #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://www.octave.org/ url_lfs = n/a url_tarball = http://ftp.gnu.org/gnu/octave/octave-7.2.0.tar.xz #--------------------------------------------------------------------- [history] 170729 Updated from 3.8.2 to 4.2.1 180315 Updated to 4.2.2 180430 Updated to 4.4.0 180814 Updated to 4.4.1 210226 Updated to 6.2.0 211020 Updated to 6.3.0 211102 Updated to 6.4.0 220822 Updated to 7.2.0