[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 4.0 on Mac 10.10
From: |
Ben Abbott |
Subject: |
Re: Octave 4.0 on Mac 10.10 |
Date: |
Fri, 27 Feb 2015 20:20:49 -0500 |
> On Feb 27, 2015, at 2:45 PM, Marius Schamschula <address@hidden> wrote:
>
> A couple of questions:
>
> 1) As there seems not to currently be a 4.0.0-rc tag, am I correct to assume
> that the OS X builds of octave 4.0 are from tip?
If you are building using a local mercurial archive, I suggest you use a shell
script and skip the port files.
Before switching to Yosemite and Fink, I configured with the options below
(using Macports on Mavericks). I made my switch in November. Until then this
worked for me.
GCCVER=4.8
CCACHE="ccache"
./configure \
CC=/opt/local/bin/clang-mp-3.4 \
CFLAGS="-pipe -O2 -m64 -g -arch x86_64" \
LDFLAGS="-L/opt/local/lib -L/opt/X11/lib" \
CXX=/opt/local/bin/clang-mp-3.4 \
CXXFLAGS="-pipe -O2 -m64 -arch x86_64" \
CPPFLAGS="-D_THREAD_SAFE -I/opt/local/include -I/opt/X11/include" \
FC="ccache gfortran-mp-$GCCVER" \
F77="ccache gfortran-mp-$GCCVER" \
FFLAGS="-pipe -O2 -m64 -arch x86_64" \
LLVM_CONFIG="$(which llvm-config-mp-3.4)" \
CARBON_LIBS="-Wl,-framework -Wl,Carbon" \
LIBS="-Wl,-framework -Wl,Carbon" \
--disable-bounds-check \
--disable-jit \
--with-magick=GraphicsMagick \
--with-lapack="-llapack -latlas -lgfortran" \
--with-blas="-lcblas -lf77blas -latlas -lgfortran" \
--prefix=/usr/local/octave/4.1.0 \
--disable-java \
--with-arpack \
--enable-docs \
--enable-gui \
--with-opengl \
--with-framework-carbon \
--without-x \
--enable-link-all-dependencies
Ben