Editing Octave for Debian systems
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 127: | Line 127: | ||
* [[MXE]] -- a more customized Octave build including many self-compiled tools. | * [[MXE]] -- a more customized Octave build including many self-compiled tools. | ||
==== 64-bit support (EXPERIMENTAL) ==== | |||
In order to use [[Enable_large_arrays:_Build_octave_such_that_it_can_use_arrays_larger_than_2Gb.|large Arrays]], it is required to configure Octave with | |||
./configure --enable-64 | |||
This requires modification and recompilation of dependency packages from the Debian repository, namely OpenBLAS. | |||
===== OpenBLAS ===== | |||
The instructions are taken from the Debian openblas source package. To create a custom OpenBLAS package, optimized only for your specific machine, proceeds as follows. | |||
Install the build dependencies: | |||
sudo aptitude build-dep openblas | |||
sudo aptitude install devscripts | |||
Get the sources of the package: | |||
apt-get source openblas | |||
Compile the package: | |||
cd openblas-<VERSION> | |||
Edit the file <code>debian/rules</code> and add at the end of line 6 <code>BINARY=64 INTERFACE64=1</code> to the variable <code>MAKE_OPTIONS</code> | |||
fakeroot debian/rules custom | |||
It should produce a package that you can install with: | |||
sudo dpkg -i ../libopenblas-base_<DEBVERSION>.deb | |||
sudo dpkg -i ../libopenblas-dev_<DEBVERSION>.deb | |||
[[Category:Building]] | [[Category:Building]] | ||
[[Category:Installation]] | [[Category:Installation]] | ||
[[Category:GNU/Linux]] | [[Category:GNU/Linux]] |