diff options
author | 2018-08-20 00:15:50 +0200 | |
---|---|---|
committer | 2018-08-20 00:15:50 +0200 | |
commit | ce87de8a9a7fa8d57c6bd94608cd2b83b1faf8c4 (patch) | |
tree | 3179d17a7c0561604af7f2191c7652a81df188b5 /scripts | |
parent | BLAS/LAPACK migration instructions (diff) | |
download | sci-ce87de8a9a7fa8d57c6bd94608cd2b83b1faf8c4.tar.gz sci-ce87de8a9a7fa8d57c6bd94608cd2b83b1faf8c4.tar.bz2 sci-ce87de8a9a7fa8d57c6bd94608cd2b83b1faf8c4.zip |
Distributing LAPACK migration files alongside overlay
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lapack_migration.sh | 22 | ||||
-rw-r--r-- | scripts/sci-lapack | 18 |
2 files changed, 40 insertions, 0 deletions
diff --git a/scripts/lapack_migration.sh b/scripts/lapack_migration.sh new file mode 100644 index 000000000..2e6624ada --- /dev/null +++ b/scripts/lapack_migration.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +set -e + +EPREFIX=${1} + +#Link to the workaroud we reproduce in this section : https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree +#Efforts to more permanently address the issue: https://github.com/gentoo/sci/issues/805 +echo "" +echo "Setting Up Eselect for Gentoo Science:" +echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" +cp "sci-lapack" "${EPREFIX}/etc/portage/package.mask/" +emerge --oneshot --verbose dev-util/cmake >> /dev/null +emerge --oneshot --verbose app-admin/eselect::science >> /dev/null +FEATURES="-preserve-libs":$FEATURES emerge --oneshot --verbose sci-libs/blas-reference::science +eselect blas set reference +FEATURES="-preserve-libs":$FEATURES emerge --oneshot --verbose sci-libs/cblas-reference::science +eselect cblas set reference +FEATURES="-preserve-libs":$FEATURES emerge --oneshot --verbose sci-libs/lapack-reference::science +eselect lapack set reference +FEATURES="-preserve-libs":$FEATURES emerge --oneshot --verbose --exclude sci-libs/blas-reference --exclude sci-libs/cblas-reference --exclude sci-libs/lapack-reference `eix --only-names --installed --in-overlay science` + +emerge -1qv @preserved-rebuild diff --git a/scripts/sci-lapack b/scripts/sci-lapack new file mode 100644 index 000000000..691059927 --- /dev/null +++ b/scripts/sci-lapack @@ -0,0 +1,18 @@ +## mask packages superseded by science overlay +app-admin/eselect::gentoo +app-eselect/eselect-blas +app-eselect/eselect-cblas +app-eselect/eselect-lapack +virtual/blas::gentoo +virtual/cblas::gentoo +virtual/lapack::gentoo +sci-libs/gsl::gentoo +app-doc/blas-docs::gentoo +app-doc/lapack-docs::gentoo +sci-libs/blas-reference::gentoo +sci-libs/cblas-reference::gentoo +sci-libs/lapack-reference::gentoo +sci-libs/mkl::gentoo + +## more recently requires (see: https://github.com/gentoo/sci/issues/878 ) +>=dev-util/cmake-3.12.0 |