python3-cvxopt: fix building on i686

This commit is contained in:
Gonzalo Tornaría 2024-01-15 14:12:19 -03:00 committed by Andrew J. Hesford
parent 6658dee0e4
commit e6a6afde47

View file

@ -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
}