diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-06-20 22:59:14 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-06-20 22:59:14 +0000 |
commit | d9841e89637d821dfd11cb5ed5656a969ae09817 (patch) | |
tree | 0a76760572b10f28409bd5fc3bef166c6ed95528 /sci-libs/clapack | |
parent | Raise dependency on util-macros (diff) | |
download | gentoo-2-d9841e89637d821dfd11cb5ed5656a969ae09817.tar.gz gentoo-2-d9841e89637d821dfd11cb5ed5656a969ae09817.tar.bz2 gentoo-2-d9841e89637d821dfd11cb5ed5656a969ae09817.zip |
Actually make the compiler optimization patch work...
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/clapack')
-rw-r--r-- | sci-libs/clapack/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/clapack/files/clapack-3.2.1-hang.patch | 10 |
2 files changed, 9 insertions, 7 deletions
diff --git a/sci-libs/clapack/ChangeLog b/sci-libs/clapack/ChangeLog index 1779b9333438..4a01c5c18235 100644 --- a/sci-libs/clapack/ChangeLog +++ b/sci-libs/clapack/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/clapack # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/ChangeLog,v 1.15 2011/06/19 20:35:56 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/ChangeLog,v 1.16 2011/06/20 22:59:14 dilfridge Exp $ + + 20 Jun 2011; Andreas K. Huettel <dilfridge@gentoo.org> + files/clapack-3.2.1-hang.patch: + Actually make the compiler optimization patch work... *clapack-3.2.1-r6 (19 Jun 2011) diff --git a/sci-libs/clapack/files/clapack-3.2.1-hang.patch b/sci-libs/clapack/files/clapack-3.2.1-hang.patch index 648516f78e34..f9ec2e0ec18c 100644 --- a/sci-libs/clapack/files/clapack-3.2.1-hang.patch +++ b/sci-libs/clapack/files/clapack-3.2.1-hang.patch @@ -1,14 +1,12 @@ -Fix for https://bugs.kde.org/show_bug.cgi?id=274940 - diff -ruN clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SRC/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt 2009-08-10 19:47:54.000000000 +0200 -+++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-19 02:17:34.119752822 +0200 +--- clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt 2011-06-21 00:29:16.275749375 +0200 ++++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-21 00:31:06.133749448 +0200 @@ -355,6 +355,9 @@ zla_heamv.c zla_hercond_c.c zla_hercond_x.c zla_herpvgrw.c zla_lin_berr.c zlarscl2.c zlascl2.c zla_wwaddw.c) -+if(CMAKE_COMPILER_IS_GNUCXX) -+ set_source_files_properties(dlamch.c slamch.c PROPERTIES COMPILE_FLAGS "-ffloat-store -O0") ++if(CMAKE_COMPILER_IS_GNUCC) ++ set_source_files_properties(../INSTALL/dlamch.c ../INSTALL/slamch.c PROPERTIES COMPILE_FLAGS "-ffloat-store -O0") +endif() if( USEXBLAS) |