Work around broken OpenBLAS dependency for SLES 12
On SLES 12, the python-backports repo currently publishes a broken openblas-devel package. Switch to libopenblas_pthreads-devel, which provides the same OpenBLAS library, but is not broken.
This commit is contained in:
parent
19e7a6c804
commit
62a30c3b35
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ fi
|
|||
# create post-install script required for openblas
|
||||
cat <<EOF >> /post-install.sh
|
||||
mv /opt/R/${R_VERSION}/lib/R/lib/libRblas.so /opt/R/${R_VERSION}/lib/R/lib/libRblas.so.keep
|
||||
ln -s /usr/lib64/libopenblas.so /opt/R/${R_VERSION}/lib/R/lib/libRblas.so
|
||||
ln -s /usr/lib64/libopenblas_pthreads.so /opt/R/${R_VERSION}/lib/R/lib/libRblas.so
|
||||
EOF
|
||||
|
||||
# create after-remove script to remove internal blas
|
||||
|
|
@ -53,7 +53,7 @@ fpm \
|
|||
-d libpango-1_0-0 \
|
||||
-d libtiff5 \
|
||||
-d make \
|
||||
-d openblas-devel \
|
||||
-d libopenblas_pthreads-devel \
|
||||
-d ${pcre_lib} \
|
||||
-d tar \
|
||||
-d tcl \
|
||||
|
|
|
|||
Loading…
Reference in a new issue