Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Enforce the use of openblas. Add comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwifb committed Dec 9, 2022
1 parent 57fc607 commit 8b32e70
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions build/pkgs/suitesparse/spkg-build.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# -*- shell-script -*-
cd src

# This is the minimum list of subpackages needed for cvxopt
# The order is important since there are dependencies.
pkg_list="SuiteSparse_config AMD CAMD COLAMD CCOLAMD CHOLMOD UMFPACK"

for pkg in ${pkg_list}; do
pushd "${pkg}/build"
sdh_cmake -DNSTATIC=ON -DCMAKE_VERBOSE_MAKEFILE=1 ..
sdh_make
popd
pushd "${pkg}/build"
# configuring with cmake to:
# Enforce usage of OpenBlas
# No static libraries
# Verbose builds
sdh_cmake -DBLA_VENDOR=OpenBLAS -DNSTATIC=ON -DCMAKE_VERBOSE_MAKEFILE=1 ..
# Build
sdh_make
popd
done

0 comments on commit 8b32e70

Please sign in to comment.