From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/fftw/
Date: Mon, 2 Sep 2013 19:17:42 +0000 (UTC) [thread overview]
Message-ID: <1378149452.36d95ed46734e64b54d67cde8bd3b40fe093f8e0.ottxor@gentoo> (raw)
commit: 36d95ed46734e64b54d67cde8bd3b40fe093f8e0
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 2 19:11:49 2013 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Sep 2 19:17:32 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=36d95ed4
clean up
Package-Manager: portage-2.2.1
---
sci-libs/fftw/ChangeLog | 4 ++++
sci-libs/fftw/fftw-3.3.3-r3.ebuild | 38 +++++++++++++++++---------------------
sci-libs/fftw/fftw-9999.ebuild | 38 +++++++++++++++++---------------------
3 files changed, 38 insertions(+), 42 deletions(-)
diff --git a/sci-libs/fftw/ChangeLog b/sci-libs/fftw/ChangeLog
index d82a81d..1d66bfd 100644
--- a/sci-libs/fftw/ChangeLog
+++ b/sci-libs/fftw/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Sep 2013; Christoph Junghans <ottxor@gentoo.org> fftw-3.3.3-r3.ebuild,
+ fftw-9999.ebuild:
+ clean up
+
*fftw-3.3.3-r3 (01 Sep 2013)
*fftw-9999 (01 Sep 2013)
diff --git a/sci-libs/fftw/fftw-3.3.3-r3.ebuild b/sci-libs/fftw/fftw-3.3.3-r3.ebuild
index 9af7694..c839eb5 100644
--- a/sci-libs/fftw/fftw-3.3.3-r3.ebuild
+++ b/sci-libs/fftw/fftw-3.3.3-r3.ebuild
@@ -40,6 +40,7 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/fftw3-mpi.h
/usr/include/fftw3l-mpi.f03
/usr/include/fftw3-mpi.f03
+ /usr/include/fftw3l.f03
/usr/include/fftw3q.f03
)
@@ -90,7 +91,14 @@ src_configure() {
multilib_is_native_abi || enable_mpi="--disable-mpi"
#jlec reported USE=quad on abi_x86_32 has too less registers
- multilib_is_native_abi || [[ $x != quad ]] || return 0
+ #stub Makefiles
+ if use amd64 && ! multilib_is_native_abi && [[ $x = quad ]]; then
+ mkdir -p "${BUILD_DIR}/tests" || die
+ echo "all: ;" > "${BUILD_DIR}/Makefile" || die
+ echo "install: ;" >> "${BUILD_DIR}/Makefile" || die
+ echo "smallcheck: ;" > "${BUILD_DIR}/tests/Makefile" || die
+ return 0
+ fi
myeconfargs=(
$(use_enable fma)
@@ -140,14 +148,8 @@ src_configure() {
multibuild_foreach_variant my_abi_configure
}
-abi_has_precision() {
- #not all abi have all precisions
- [[ -f ${BUILD_DIR}/Makefile ]] || return 0
- "$@"
-}
-
src_compile() {
- multibuild_foreach_variant multilib_foreach_abi abi_has_precision autotools-utils_src_compile
+ multibuild_foreach_variant autotools-multilib_src_compile
}
src_test () {
@@ -156,7 +158,7 @@ src_test () {
# Do not increase the number of threads, it will not help your performance
#local testbase="perl check.pl --nthreads=1 --estimate"
# ${testbase} -${p}d || die "Failure: $n"
- multibuild_foreach_variant multilib_foreach_abi abi_has_precision autotools-utils_src_compile -C tests smallcheck
+ multibuild_foreach_variant autotools-multilib_src_compile -C tests smallcheck
}
src_install () {
@@ -166,19 +168,13 @@ src_install () {
#copied from autotools-multilib_secure_install
my_abi_src_install() {
- my_abi_secure_install() {
- autotools-utils_src_install
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then
- multilib_prepare_wrappers
- multilib_check_headers
- fi
- }
-
- multilib_foreach_abi abi_has_precision my_abi_secure_install
- #don't mix checksum of different precisions
- rm -f "${T}"/.multilib_header_cksum
+ autotools-utils_src_install
+ if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then
+ multilib_prepare_wrappers
+ multilib_check_headers
+ fi
}
- multibuild_foreach_variant my_abi_src_install
+ multibuild_foreach_variant multilib_foreach_abi my_abi_src_install
multilib_install_wrappers
if use doc; then
diff --git a/sci-libs/fftw/fftw-9999.ebuild b/sci-libs/fftw/fftw-9999.ebuild
index 9af7694..c839eb5 100644
--- a/sci-libs/fftw/fftw-9999.ebuild
+++ b/sci-libs/fftw/fftw-9999.ebuild
@@ -40,6 +40,7 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/fftw3-mpi.h
/usr/include/fftw3l-mpi.f03
/usr/include/fftw3-mpi.f03
+ /usr/include/fftw3l.f03
/usr/include/fftw3q.f03
)
@@ -90,7 +91,14 @@ src_configure() {
multilib_is_native_abi || enable_mpi="--disable-mpi"
#jlec reported USE=quad on abi_x86_32 has too less registers
- multilib_is_native_abi || [[ $x != quad ]] || return 0
+ #stub Makefiles
+ if use amd64 && ! multilib_is_native_abi && [[ $x = quad ]]; then
+ mkdir -p "${BUILD_DIR}/tests" || die
+ echo "all: ;" > "${BUILD_DIR}/Makefile" || die
+ echo "install: ;" >> "${BUILD_DIR}/Makefile" || die
+ echo "smallcheck: ;" > "${BUILD_DIR}/tests/Makefile" || die
+ return 0
+ fi
myeconfargs=(
$(use_enable fma)
@@ -140,14 +148,8 @@ src_configure() {
multibuild_foreach_variant my_abi_configure
}
-abi_has_precision() {
- #not all abi have all precisions
- [[ -f ${BUILD_DIR}/Makefile ]] || return 0
- "$@"
-}
-
src_compile() {
- multibuild_foreach_variant multilib_foreach_abi abi_has_precision autotools-utils_src_compile
+ multibuild_foreach_variant autotools-multilib_src_compile
}
src_test () {
@@ -156,7 +158,7 @@ src_test () {
# Do not increase the number of threads, it will not help your performance
#local testbase="perl check.pl --nthreads=1 --estimate"
# ${testbase} -${p}d || die "Failure: $n"
- multibuild_foreach_variant multilib_foreach_abi abi_has_precision autotools-utils_src_compile -C tests smallcheck
+ multibuild_foreach_variant autotools-multilib_src_compile -C tests smallcheck
}
src_install () {
@@ -166,19 +168,13 @@ src_install () {
#copied from autotools-multilib_secure_install
my_abi_src_install() {
- my_abi_secure_install() {
- autotools-utils_src_install
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then
- multilib_prepare_wrappers
- multilib_check_headers
- fi
- }
-
- multilib_foreach_abi abi_has_precision my_abi_secure_install
- #don't mix checksum of different precisions
- rm -f "${T}"/.multilib_header_cksum
+ autotools-utils_src_install
+ if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then
+ multilib_prepare_wrappers
+ multilib_check_headers
+ fi
}
- multibuild_foreach_variant my_abi_src_install
+ multibuild_foreach_variant multilib_foreach_abi my_abi_src_install
multilib_install_wrappers
if use doc; then
next reply other threads:[~2013-09-02 19:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-02 19:17 Christoph Junghans [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-21 15:14 [gentoo-commits] proj/sci:master commit in: sci-libs/fftw/ Christoph Junghans
2015-04-13 6:34 Justin Lecher
2015-02-19 21:12 Christoph Junghans
2015-02-17 0:13 Christoph Junghans
2015-02-02 12:06 Justin Lecher
2014-07-04 7:10 Justin Lecher
2014-01-06 18:33 Justin Lecher
2013-09-17 19:13 Christoph Junghans
2013-09-07 20:19 Christoph Junghans
2011-08-31 19:37 Christoph Junghans
2011-06-24 17:09 Justin Lecher
2011-06-21 11:54 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1378149452.36d95ed46734e64b54d67cde8bd3b40fe093f8e0.ottxor@gentoo \
--to=ottxor@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox