Skip to content

Commit

Permalink
sci-libs/mkl: Properly check for free disk space
Browse files Browse the repository at this point in the history
Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=576044

Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Mar 2, 2016
1 parent b3504dd commit 392cd06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sci-libs/mkl/mkl-10.0.5.025.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RDEPEND="${DEPEND}
MKL_DIR=/opt/intel/${PN}/${PV}
INTEL_LIC_DIR=/opt/intel/licenses

CHECKREQS_DISK_BUILD=3500M

QA_PREBUILT="opt/intel/${PN}/${PV}/*"

get_fcomp() {
Expand All @@ -45,6 +47,7 @@ get_fcomp() {
}

pkg_setup() {
check-reqs_pkg_setup
fortran-2_pkg_setup
# Check the license
if [[ -z ${MKL_LICENSE} ]]; then
Expand Down Expand Up @@ -89,6 +92,8 @@ pkg_setup() {
}

src_prepare() {
check-reqs_src_prepare

cd l_${PN}_*_${PV}/install || die

cp ${MKL_LICENSE} "${WORKDIR}"/ || die
Expand Down

0 comments on commit 392cd06

Please sign in to comment.