Skip to content

Commit

Permalink
Remove debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Jul 24, 2023
1 parent 7f60cc4 commit 791f3cc
Showing 1 changed file with 28 additions and 30 deletions.
58 changes: 28 additions & 30 deletions wheels/install_deps_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,36 +87,34 @@ fi
# Install build requirements.
CC="${CC}" CFLAGS="${CFLAGS}" pip install -v "numpy<${numpy_ver}" -r "${scriptdir}/build_requirements.txt"

# # Install Openblas

# openblas_version=0.3.23
# openblas_dir=OpenBLAS-${openblas_version}
# openblas_pkg=${openblas_dir}.tar.gz

# if [ ! -e ${openblas_pkg} ]; then
# echo "Fetching OpenBLAS..."
# curl -SL https://github.com/xianyi/OpenBLAS/archive/v${openblas_version}.tar.gz -o ${openblas_pkg}
# fi

# echo "Building OpenBLAS..."

# shr="NO_STATIC=1"
# if [ "${static}" = "yes" ]; then
# shr="NO_SHARED=1"
# fi

# rm -rf ${openblas_dir}
# tar xzf ${openblas_pkg} \
# && pushd ${openblas_dir} >/dev/null 2>&1 \
# && make USE_OPENMP=1 ${shr} \
# MAKE_NB_JOBS=${MAKEJ} \
# CC="${CC}" FC="${FC}" DYNAMIC_ARCH=1 TARGET=GENERIC \
# COMMON_OPT="${CFLAGS}" FCOMMON_OPT="${FCFLAGS}" \
# EXTRALIB="-fopenmp -lm ${FCLIBS}" all \
# && make ${shr} DYNAMIC_ARCH=1 TARGET=GENERIC PREFIX="${PREFIX}" install \
# && popd >/dev/null 2>&1

# exit 0
# Install Openblas

openblas_version=0.3.23
openblas_dir=OpenBLAS-${openblas_version}
openblas_pkg=${openblas_dir}.tar.gz

if [ ! -e ${openblas_pkg} ]; then
echo "Fetching OpenBLAS..."
curl -SL https://github.com/xianyi/OpenBLAS/archive/v${openblas_version}.tar.gz -o ${openblas_pkg}
fi

echo "Building OpenBLAS..."

shr="NO_STATIC=1"
if [ "${static}" = "yes" ]; then
shr="NO_SHARED=1"
fi

rm -rf ${openblas_dir}
tar xzf ${openblas_pkg} \
&& pushd ${openblas_dir} >/dev/null 2>&1 \
&& make USE_OPENMP=1 ${shr} \
MAKE_NB_JOBS=${MAKEJ} \
CC="${CC}" FC="${FC}" DYNAMIC_ARCH=1 TARGET=GENERIC \
COMMON_OPT="${CFLAGS}" FCOMMON_OPT="${FCFLAGS}" \
EXTRALIB="-fopenmp -lm ${FCLIBS}" all \
&& make ${shr} DYNAMIC_ARCH=1 TARGET=GENERIC PREFIX="${PREFIX}" install \
&& popd >/dev/null 2>&1

# Install FFTW

Expand Down

0 comments on commit 791f3cc

Please sign in to comment.