Accepting request 661895 from home:cjunghans:branches:science

- Update to version 3.3.7:
  + Changes since 3.3.6: Fix compilation with GCC>=6 and compiler optimization turned off.
- Added eigen3-3.3.1-fixcmake.patch

OBS-URL: https://build.opensuse.org/request/show/661895
OBS-URL: https://build.opensuse.org/package/show/science/eigen3?expand=0&rev=18
This commit is contained in:
Christoph Junghans 2018-12-30 17:14:26 +00:00 committed by Git OBS Bridge
parent 3c9669763c
commit 1fea6b7b6a
5 changed files with 27 additions and 5 deletions

View File

@ -0,0 +1,12 @@
diff -rupN eigen-eigen-323c052e1731/CMakeLists.txt eigen-eigen-323c052e1731-new/CMakeLists.txt
--- eigen-eigen-323c052e1731/CMakeLists.txt 2018-12-25 23:10:48.592420583 +0100
+++ eigen-eigen-323c052e1731-new/CMakeLists.txt 2018-12-25 23:10:48.659420305 +0100
@@ -531,7 +531,7 @@ set ( EIGEN_VERSION_MAJOR ${EIGEN_WORLD
set ( EIGEN_VERSION_MINOR ${EIGEN_MAJOR_VERSION} )
set ( EIGEN_VERSION_PATCH ${EIGEN_MINOR_VERSION} )
set ( EIGEN_DEFINITIONS "")
-set ( EIGEN_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}" )
+set ( EIGEN_INCLUDE_DIR ${INCLUDE_INSTALL_DIR} )
set ( EIGEN_ROOT_DIR ${CMAKE_INSTALL_PREFIX} )
# Interface libraries require at least CMake 3.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd254beb0bafc695d0f62ae1a222ff85b52dbaa3a16f76e781dce22d0d20a4a6
size 1657543

3
eigen3-3.3.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f13cf90dedbe3e52a19f43000d71fdf72e986beb9a5436dddcd61ff9d77a3ce
size 1665168

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Dec 29 00:22:34 UTC 2018 - Christoph Junghans <junghans@votca.org>
- Update to version 3.3.7:
+ Changes since 3.3.6: Fix compilation with GCC>=6 and compiler optimization turned off.
- Added eigen3-3.3.1-fixcmake.patch
-------------------------------------------------------------------
Tue Nov 7 13:30:09 UTC 2017 - alarrosa@suse.com

View File

@ -17,7 +17,7 @@
Name: eigen3
Version: 3.3.4
Version: 3.3.7
Release: 0
Summary: C++ Template Library for Linear Algebra
License: MPL-2.0 and LGPL-2.1+ and BSD-3-Clause
@ -30,6 +30,8 @@ Patch1: 0001-Do-stack-allignment-on-ppc.patch
Patch2: eigen_pkgconfig.patch
# PATCH-FIX-OPENSUSE 01_install_FindEigen3.patch asterios.dramis@gmail.com -- Install FindEigen3.cmake
Patch3: 01_install_FindEigen3.patch
# PATCH-FIX-OPENSUSE eigen3-3.3.1-fixcmake.patch -- Fix double {prefix} as we use INCLUDE_INSTALL_DIR with {_includedir}
Patch4: eigen3-3.3.1-fixcmake.patch
BuildRequires: adolc-devel
BuildRequires: cmake
BuildRequires: doxygen
@ -88,11 +90,12 @@ Documentation in HTML format for the Eigen3 C++ Template Library
for Linear Algebra
%prep
%setup -q -n eigen-eigen-5a0156e40feb
%setup -q -n eigen-eigen-323c052e1731
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
# Fix rpmlint warning "wrong-file-end-of-line-encoding"
sed -i 's/\r$//' COPYING.MINPACK