From 62a30c3b354ba9e8318f34788f3a54eb3e2b5579 Mon Sep 17 00:00:00 2001 From: Greg Lin Date: Wed, 23 Dec 2020 17:18:05 -0600 Subject: [PATCH] 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. --- builder/package.opensuse-42 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/package.opensuse-42 b/builder/package.opensuse-42 index 5bb72c9..27cf45c 100644 --- a/builder/package.opensuse-42 +++ b/builder/package.opensuse-42 @@ -13,7 +13,7 @@ fi # create post-install script required for openblas cat <> /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 \