Skip to content

Commit 04c327f

Browse files
Matthias Koeppedimpase
authored andcommitted
build/pkgs/openblas: Move removal of pkgconfig symlinks to spkg-preinst.in; fixes #30480
1 parent 0772646 commit 04c327f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build/pkgs/openblas/spkg-install.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ if ! (sdh_make libs $OPENBLAS_CONFIGURE && sdh_make netlib $OPENBLAS_CONFIGURE &
5959
fi
6060
fi
6161

62-
# See https://github.com/sagemath/sage/issues/30335
63-
rm -f "$SAGE_LOCAL/lib/pkgconfig/cblas.pc" "$SAGE_LOCAL/lib/pkgconfig/blas.pc" "$SAGE_LOCAL/lib/pkgconfig/lapack.pc"
64-
6562
sdh_make_install PREFIX="$SAGE_LOCAL" NO_STATIC=1 $OPENBLAS_CONFIGURE
6663
cd ..
6764
./write_pc_file.py

build/pkgs/openblas/spkg-preinst.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# See https://github.com/sagemath/sage/issues/30335
2+
rm -f "$SAGE_LOCAL/lib/pkgconfig/cblas.pc" "$SAGE_LOCAL/lib/pkgconfig/blas.pc" "$SAGE_LOCAL/lib/pkgconfig/lapack.pc"

0 commit comments

Comments
 (0)