aboutsummaryrefslogtreecommitdiffstats
path: root/docs/notes.rst
blob: 5d0ff8273687a99ab54f610d19e22a92e374290f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
How to recompile openblas
-------------------------

Some notes about how to recompile packages from unstable:
`<http://wiki.debian.org/DebianUnstable>`_

Openblas with Sandybridge target support is available in the experimental
repository in debian. I recompiled it as follows:
TARGET=SANDYBRIDGE USE_OPENMP=1 apt-get -b source openblas

By default, it uses pthreads, instead of openmp, which was interfering
with other use of openmp in my code. If we dont' specify the target, it
builds a lot of different architectures, and the right one gets selected
at runtime. Unfortunately it doesn't include Sandybridge yet.