Merge pull request #38 from kiwifb/fsl6blas
sci-biology/fsl: use generic blas/lapack revert stuff.
This commit is contained in:
commit
8eff8d0680
@ -1,3 +1,6 @@
|
|||||||
|
14 Nov 2019; François Bissey <frp.bissey@gmail.com> fsl-6.0.2.ebuild:
|
||||||
|
sci-biology/fsl: use generic blas/lapack revert stuff.
|
||||||
|
|
||||||
08 Nov 2019; François Bissey <frp.bissey@gmail.com> fsl-6.0.2.ebuild:
|
08 Nov 2019; François Bissey <frp.bissey@gmail.com> fsl-6.0.2.ebuild:
|
||||||
sci-biology/fsl: final touches. Skip mist-clean.
|
sci-biology/fsl: final touches. Skip mist-clean.
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ DEPEND="
|
|||||||
sys-libs/zlib
|
sys-libs/zlib
|
||||||
dev-lang/tcl:0=
|
dev-lang/tcl:0=
|
||||||
dev-lang/tk:0=
|
dev-lang/tk:0=
|
||||||
virtual/lapack
|
>=virtual/lapack-3.8
|
||||||
virtual/blas
|
>=virtual/blas-3.8
|
||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
@ -78,10 +78,6 @@ src_prepare(){
|
|||||||
$(grep -rl "\${FSLDIR}/bin" etc/matlab/*)\
|
$(grep -rl "\${FSLDIR}/bin" etc/matlab/*)\
|
||||||
$(grep -rl "\$FSLDIR/bin" etc/matlab/*) || die
|
$(grep -rl "\$FSLDIR/bin" etc/matlab/*) || die
|
||||||
|
|
||||||
# Not caught by the previous sed. Usually append
|
|
||||||
sed -e "s:\${FSLDIR}/bin::g" \
|
|
||||||
-i $(grep -rl "\${FSLDIR}/bin" src/*) || die
|
|
||||||
|
|
||||||
sed -e "s:\$FSLDIR/data:${EPREFIX}/usr/share/fsl/data:g" \
|
sed -e "s:\$FSLDIR/data:${EPREFIX}/usr/share/fsl/data:g" \
|
||||||
-e "s:\${FSLDIR}/data:${EPREFIX}/usr/share/fsl/data:g" \
|
-e "s:\${FSLDIR}/data:${EPREFIX}/usr/share/fsl/data:g" \
|
||||||
-i $(grep -rl "\$FSLDIR/data" src/*) \
|
-i $(grep -rl "\$FSLDIR/data" src/*) \
|
||||||
@ -100,6 +96,10 @@ src_prepare(){
|
|||||||
-i $(grep -rlI "\$FSLDIR/etc" *) \
|
-i $(grep -rlI "\$FSLDIR/etc" *) \
|
||||||
-i $(grep -rlI "\${FSLDIR}/etc" *) || die
|
-i $(grep -rlI "\${FSLDIR}/etc" *) || die
|
||||||
|
|
||||||
|
# Use generic blas/lapack rather than openblas
|
||||||
|
sed -e "s:-lopenblas:-llapack -lblas:g" \
|
||||||
|
-i $(grep -rlI lopenblas *) || die
|
||||||
|
|
||||||
# script wanting to have access to flsversion at buildtime
|
# script wanting to have access to flsversion at buildtime
|
||||||
sed -e "s:/etc/fslversion:${S}/etc/fslversion:g" \
|
sed -e "s:/etc/fslversion:${S}/etc/fslversion:g" \
|
||||||
-i ${makefilelist} || die
|
-i ${makefilelist} || die
|
||||||
|
Loading…
x
Reference in New Issue
Block a user