aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo TornarĂ­a <tornaria@cmat.edu.uy>2024-01-15 17:12:19 +0000
committerAndrew J. Hesford <ajh@sideband.org>2024-01-31 15:26:32 +0000
commite6a6afde47d2f9bf9a64a26664443ee322803247 (patch)
tree7375e9d49cd4a08be0b6bd2f6bd80919f1cdf5fd
parent6658dee0e47f5d892a4a0ed7f9f6287e90fdc2fb (diff)
downloadvoid-packages-e6a6afde47d2f9bf9a64a26664443ee322803247.tar
void-packages-e6a6afde47d2f9bf9a64a26664443ee322803247.tar.gz
void-packages-e6a6afde47d2f9bf9a64a26664443ee322803247.tar.bz2
void-packages-e6a6afde47d2f9bf9a64a26664443ee322803247.tar.lz
void-packages-e6a6afde47d2f9bf9a64a26664443ee322803247.tar.xz
void-packages-e6a6afde47d2f9bf9a64a26664443ee322803247.tar.zst
void-packages-e6a6afde47d2f9bf9a64a26664443ee322803247.zip
python3-cvxopt: fix building on i686
-rw-r--r--srcpkgs/python3-cvxopt/template2
1 files changed, 2 insertions, 0 deletions
diff --git a/srcpkgs/python3-cvxopt/template b/srcpkgs/python3-cvxopt/template
index 772426a59e6..cc961568f9d 100644
--- a/srcpkgs/python3-cvxopt/template
+++ b/srcpkgs/python3-cvxopt/template
@@ -32,4 +32,6 @@ pre_build() {
export CVXOPT_BUILD_FFTW=1
export CVXOPT_BLAS_LIB=$(vopt_if openblas 'openblas' 'blas;gslcblas')
export CVXOPT_LAPACK_LIB=$(vopt_if openblas 'openblas' 'lapack')
+ # setup.py gets this wrong for i686 (and other 32 bit?)
+ export CVXOPT_SUITESPARSE_INC_DIR=${XBPS_CROSS_BASE}/usr/include/suitesparse
}