aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/notes.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/notes.rst b/docs/notes.rst
new file mode 100644
index 00000000..5d0ff827
--- /dev/null
+++ b/docs/notes.rst
@@ -0,0 +1,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.
+