summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-05-07 22:47:54 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-05-07 22:47:54 +0000
commitfb1af083b6d9e8386709eaf8ad2a9d55a3fc4da1 (patch)
tree41e7905d3a0f4d0197b2b4ef2d9d98d14f383ff1 /dev-libs/fftw
parentAdded stable sparc keyword (diff)
downloadgentoo-2-fb1af083b6d9e8386709eaf8ad2a9d55a3fc4da1.tar.gz
gentoo-2-fb1af083b6d9e8386709eaf8ad2a9d55a3fc4da1.tar.bz2
gentoo-2-fb1af083b6d9e8386709eaf8ad2a9d55a3fc4da1.zip
added filter for -fpmath=sse flag
Diffstat (limited to 'dev-libs/fftw')
-rw-r--r--dev-libs/fftw/ChangeLog6
-rw-r--r--dev-libs/fftw/fftw-2.1.5.ebuild27
2 files changed, 26 insertions, 7 deletions
diff --git a/dev-libs/fftw/ChangeLog b/dev-libs/fftw/ChangeLog
index 2c79615d9fc9..a43b8999e074 100644
--- a/dev-libs/fftw/ChangeLog
+++ b/dev-libs/fftw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/fftw
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/ChangeLog,v 1.9 2003/03/25 08:17:09 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/ChangeLog,v 1.10 2003/05/07 22:47:54 george Exp $
+
+ 07 May 2003; George Shapovalov <george@gentoo.org> fftw-2.1.5.ebuild :
+ apparently fftw doesn't like -fpmath=sse on pentium-4 M based systems (#19523)
+ added corresponding filter, thanks to Christian Birchinger <joker@gentoo.org> for report.
*fftw-2.1.5 (23 Mar 2003)
diff --git a/dev-libs/fftw/fftw-2.1.5.ebuild b/dev-libs/fftw/fftw-2.1.5.ebuild
index 9ab307695581..800b605dafa2 100644
--- a/dev-libs/fftw/fftw-2.1.5.ebuild
+++ b/dev-libs/fftw/fftw-2.1.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-2.1.5.ebuild,v 1.1 2003/03/25 08:17:10 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-2.1.5.ebuild,v 1.2 2003/05/07 22:47:54 george Exp $
+
+inherit flag-o-matic
IUSE="mpi"
@@ -16,6 +18,24 @@ LICENSE="GPL-2"
#remove ~'s on ppc and sparc when removig on x86 (as per recent discussion on -core)
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+#this one is reported to cause trouble on pentium4 m series
+filter-flags "-mfpmath=sse"
+
+#here I need (surprise) to increase optimization:
+#--enable-i386-hacks requires -fomit-frame-pointer to work properly
+export CFLAGS="${CFLAGS/-fomit-frame-pointer/} -fomit-frame-pointer"
+
+pkg_setup() {
+ einfo ""
+ einfo "This ebuild installs double and single precision versions of library"
+ einfo "This involves some name mangling, as supported by package and required"
+ einfo "by some apps that use it."
+ einfo "By default, the symlinks to non-mangled names will be created off"
+ einfo "double-precision version. In order to symlink to single-precision use"
+ einfo "SINGLE=yes emerge fftw"
+ einfo ""
+}
+
src_unpack() {
#doc suggests installing single and double precision versions via separate compilations
#will do in two separate source trees
@@ -32,11 +52,6 @@ src_unpack() {
src_compile() {
-
- #here I need (surprise) to increase optimization:
- #--enable-i386-hacks requires -fomit-frame-pointer to work properly
- export CFLAGS="${CFLAGS/-fomit-frame-pointer/} -fomit-frame-pointer"
-
local myconf=""
use mpi && myconf="${myconf} --enable-mpi"
#mpi is not a valid flag yet. In this revision it is used merely to block --enable-mpi option