Unverified Commit 2aa50c27 authored by xoviat's avatar xoviat Committed by GitHub
Browse files

Fix OpenBLAS binary installation (#89)

The archives directory was not created. I tested this downstream and the fix worked.
parent 40e677b9
# Stripped-down version of bash utilities for use with gfortran # Stripped-down version of bash utilities for use with gfortran
ARCHIVE_SDIR="${ARCHIVE_SDIR:-archives}"
function _mb_get_gf_lib_for_suf { function _mb_get_gf_lib_for_suf {
local suffix=$1 local suffix=$1
local prefix=$2 local prefix=$2
......
...@@ -102,6 +102,7 @@ function build_openblas { ...@@ -102,6 +102,7 @@ function build_openblas {
brew install openblas brew install openblas
brew link --force openblas brew link --force openblas
else else
mkdir -p $ARCHIVE_SDIR
local plat=${1:-$PLAT} local plat=${1:-$PLAT}
local tar_path=$(abspath $(_mb_get_gf_lib "openblas-${OPENBLAS_VERSION}" "$plat")) local tar_path=$(abspath $(_mb_get_gf_lib "openblas-${OPENBLAS_VERSION}" "$plat"))
(cd / && tar zxf $tar_path) (cd / && tar zxf $tar_path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment