Skip to content

Commit

Permalink
Move the openBLAS solution to 5.0.0+trunk+serial
Browse files Browse the repository at this point in the history
  • Loading branch information
moazzammoriani committed Jun 9, 2022
1 parent 8370cea commit 9e73445
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ jobs:
run: |
sudo apt-get update && sudo apt-get -y install wget pkg-config libgmp-dev m4 libdw-dev jq python3-pip autoconf jo
pip3 install intervaltree
# Work-around for Ubuntu-OpenBLAS issue for Owl by building OpenBLAS from source
sudo apt-get -y install unzip aspcud libshp-dev libplplot-dev gfortran pkg-config git
git clone https://github.com/xianyi/OpenBLAS OpenBLAS
cd OpenBLAS/
make
cd ..
ldconfig /opt/OpenBLAS/lib/
OWL_DISABLE_LAPACKE_LINKING_FLAG=1
OWL_COMPILE_CFLAGS="-I/opt/OpenBLAS/include -I/home/opam/OpenBLAS/lapack-netlib/LAPACKE/include/ -L/opt/OpenBLAS/lib"
CFLAGS=${OWL_COMPILE_CFLAGS}
eval $(opam env)
opam update
opam pin add -n --yes dune https://github.com/dra27/dune/archive/2.9.3-5.0.0.tar.gz
Expand Down Expand Up @@ -82,6 +72,16 @@ jobs:
run: |
sudo apt-get update && sudo apt-get -y install wget pkg-config libgmp-dev m4 libdw-dev jq python3-pip autoconf jo
pip3 install intervaltree
# Work-around for Ubuntu-OpenBLAS issue for Owl by building OpenBLAS from source
sudo apt-get -y install unzip aspcud libshp-dev libplplot-dev gfortran pkg-config git
git clone https://github.com/xianyi/OpenBLAS OpenBLAS
cd OpenBLAS/
make
cd ..
ldconfig /opt/OpenBLAS/lib/
OWL_DISABLE_LAPACKE_LINKING_FLAG=1
OWL_COMPILE_CFLAGS="-I/opt/OpenBLAS/include -I/home/opam/OpenBLAS/lapack-netlib/LAPACKE/include/ -L/opt/OpenBLAS/lib"
CFLAGS=${OWL_COMPILE_CFLAGS}
eval $(opam env)
opam update
opam pin add -n --yes dune https://github.com/dra27/dune/archive/2.9.3-5.0.0.tar.gz
Expand Down

0 comments on commit 9e73445

Please sign in to comment.