summaryrefslogtreecommitdiff
path: root/site.cfg.example
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2019-11-29 20:33:41 +0200
committerPauli Virtanen <pav@iki.fi>2019-11-29 20:36:47 +0200
commitafbefcb2e88c5650c682b32d315b671b7423926e (patch)
tree41a820b515afc2de3dd25840f15a217419a26480 /site.cfg.example
parent0725a58415e68eab9fa7d7389cdb40716447a4fb (diff)
downloadnumpy-afbefcb2e88c5650c682b32d315b671b7423926e.tar.gz
ENH: distutils: support 64-bit OpenBLAS with '64_' symbol suffix
This is an emerging "standard" for 64-bit BLAS/LAPACK, avoiding symbol clashes with 32-bit BLAS/LAPACK, originally introduced for Julia. OpenBLAS can be compiled with 64-bit integer size and symbol suffix '64_' (INTERFACE64=1 SYMBOLSUFFIX=64_). OpenBLAS built with this setting is also provided by some Linux distributions (e.g. Fedora's 64-bit openblas packages).
Diffstat (limited to 'site.cfg.example')
-rw-r--r--site.cfg.example17
1 files changed, 17 insertions, 0 deletions
diff --git a/site.cfg.example b/site.cfg.example
index b6b0175d6..97253fee2 100644
--- a/site.cfg.example
+++ b/site.cfg.example
@@ -132,6 +132,23 @@
# include_dirs = /opt/OpenBLAS/include
# runtime_library_dirs = /opt/OpenBLAS/lib
+# OpenBLAS (64-bit with suffix)
+# -----------------------------
+# OpenBLAS can be compiled with 64-bit integer size and symbol suffix '64_'
+# (INTERFACE64=1 SYMBOLSUFFIX=64_). OpenBLAS built with this setting are also
+# provided by some Linux distributions (e.g. Fedora's 64-bit openblas packages).
+# This is an emerging "standard" for 64-bit BLAS/LAPACK, avoiding symbol clashes
+# with 32-bit BLAS/LAPACK.
+#
+# See:
+# https://github.com/xianyi/OpenBLAS/issues/646
+#
+# [openblas64_]
+# libraries = openblas64_
+# library_dirs = /opt/OpenBLAS/lib
+# include_dirs = /opt/OpenBLAS/include
+# runtime_library_dirs = /opt/OpenBLAS/lib
+
# BLIS
# ----
# BLIS (https://github.com/flame/blis) also provides a BLAS interface. It's a