From f399534ad37759b2917df4e360b3385ea37d2528 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Mon, 2 Aug 2021 11:13:51 +0200
Subject: [PATCH] fix openblas setup

---
 tools/build_macosx.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/build_macosx.sh b/tools/build_macosx.sh
index 80cd0d879..8787225e0 100755
--- a/tools/build_macosx.sh
+++ b/tools/build_macosx.sh
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/Cellar/openblas/0.3.13/lib/pkgconfig/:${PKG_CONFIG_PATH}
+# setup openblas
+. ~/.bash_profile
 
 cd build-starpu
 cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/../install -DCHAMELEON_PREC_D=OFF -DCHAMELEON_PREC_C=OFF -DCHAMELEON_PREC_Z=OFF -DBLA_PREFER_PKGCONFIG=ON -DBUILD_SHARED_LIBS=ON
-- 
GitLab