Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Octave and separate toolchain
(edit)
Revision as of 06:17, 1 November 2016
1,899 bytes added
,
06:17, 1 November 2016
→GraphicsMagick
:
add fftw section, above
Line 218:
Line 218:
+
+
== FFTW ==
+
+
http://www.fftw.org/
+
+
cd $downloads
+
wget http://www.fftw.org/fftw-3.3.5.tar.gz
+
+
Start from a clean state
+
+
exit
+
bash
+
export PATH=/usr/local/gcc-6.2.0_binutils-2.27_isl/bin:$PATH
+
which gfortran
+
# should be /usr/local/gcc-6.2.0_binutils-2.27_isl/bin/gfortran
+
+
cd $buildroot
+
tar --no-same-owner -xvf $downloads/fftw-3.3.5.tar.gz
+
cd fftw-3.3.5/
+
+
=== Single precision ===
+
./configure --enable-shared --enable-sse2 --enable-avx --enable-openmp --enable-threads --enable-float CPPFLAGS="-I/usr/local/gcc-6.2.0_binutils-2.27_isl/include" CFLAGS="-O2 -march=native -L/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64" CXXFLAGS="-O2 -march=native -L/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64" FFLAGS="-O2 -march=native -L/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64" LDFLAGS=-Wl,-rpath,/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64 PKG_CONFIG_PATH=/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64/pkgconfig --prefix=/usr/local/gcc-6.2.0_binutils-2.27_isl
+
make -j6
+
make check
+
+
as root ({{codeline|su}}, not {{codeline|sudo}}, because we want PATH to contain {{Path|/usr/local/gcc-6.2.0_binutils-2.27_isl/bin}})
+
+
make install
+
exit
+
+
=== Double precision ===
+
./configure --enable-shared --enable-sse2 --enable-avx --enable-openmp --enable-threads CPPFLAGS="-I/usr/local/gcc-6.2.0_binutils-2.27_isl/include" CFLAGS="-O2 -march=native -L/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64" CXXFLAGS="-O2 -march=native -L/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64" FFLAGS="-O2 -march=native -L/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64" LDFLAGS=-Wl,-rpath,/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64 PKG_CONFIG_PATH=/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64/pkgconfig --prefix=/usr/local/gcc-6.2.0_binutils-2.27_isl
+
make -j6
+
make check
+
+
as root ({{codeline|su}}, not {{codeline|sudo}}, because we want PATH to contain {{Path|/usr/local/gcc-6.2.0_binutils-2.27_isl/bin}})
+
+
make install
+
exit
== GraphicsMagick ==
== GraphicsMagick ==
Line 263:
Line 302:
{{codeline|exit}} root session, then {{codeline|exit}} current bash, to return to a clean state
{{codeline|exit}} root session, then {{codeline|exit}} current bash, to return to a clean state
−
== Octave itself ==
== Octave itself ==
Ederag
32
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Install
Packages
Development
FAQ
Wiki
Recent changes
Random page
Index
Help
Tools
Special pages
Printable version