|
|
Line 250: |
Line 250: |
|
| |
|
| ./configure CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial | | ./configure CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial |
|
| |
| ==== 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:Debian]] | | [[Category:Debian]] |