summaryrefslogtreecommitdiffstats
path: root/eval
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@verizonmedia.com>2020-01-30 10:59:10 +0100
committerTor Egge <Tor.Egge@verizonmedia.com>2020-01-30 10:59:10 +0100
commit6e43f84c1f7c26cb141b398cdcca663d44626b00 (patch)
tree32dcdbbec69b4b5b289ccc0de86d5f909ebdc4df /eval
parentf9d2e5638c987c678d4d6c57c872ff5e56877e20 (diff)
Compile with openblas on Darwin.
Diffstat (limited to 'eval')
-rw-r--r--eval/src/vespa/eval/tensor/dense/dense_matmul_function.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/eval/src/vespa/eval/tensor/dense/dense_matmul_function.cpp b/eval/src/vespa/eval/tensor/dense/dense_matmul_function.cpp
index ce0d4230c23..18e3d56d296 100644
--- a/eval/src/vespa/eval/tensor/dense/dense_matmul_function.cpp
+++ b/eval/src/vespa/eval/tensor/dense/dense_matmul_function.cpp
@@ -10,7 +10,11 @@
#include <vespa/eval/tensor/tensor.h>
#include <assert.h>
+#ifdef __APPLE__
+#include <cblas.h>
+#else
#include <openblas/cblas.h>
+#endif
namespace vespalib::tensor {