Skip to content

Commit

Permalink
Merge pull request #3723 from fwyzard/IB/CMSSW_10_0_X/gcc630_fix_eige…
Browse files Browse the repository at this point in the history
…n_for_coda_91

Cherry-pick upstream changeset 10711:034b6c3e1017
  • Loading branch information
smuzaffar committed Feb 9, 2018
2 parents dd70482 + 7c1c325 commit 08ccdfc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions eigen-034b6c3e1017.patch
@@ -0,0 +1,15 @@
diff -r c2947c341c68 -r 034b6c3e1017 Eigen/Core
--- a/Eigen/Core Fri Dec 15 15:15:37 2017 +0100
+++ b/Eigen/Core Mon Dec 18 16:51:15 2017 -0800
@@ -54,9 +54,9 @@
#endif

#define EIGEN_DEVICE_FUNC __host__ __device__
- // We need math_functions.hpp to ensure that that EIGEN_USING_STD_MATH macro
+ // We need cuda_runtime.h to ensure that that EIGEN_USING_STD_MATH macro
// works properly on the device side
- #include <math_functions.hpp>
+ #include <cuda_runtime.h>
#else
#define EIGEN_DEVICE_FUNC
#endif
3 changes: 3 additions & 0 deletions eigen.spec
Expand Up @@ -5,8 +5,11 @@
Source: https://bitbucket.org/%{n}/%{n}/get/%{tag}.tar.gz
BuildRequires: cmake

Patch0: eigen-034b6c3e1017

%prep
%setup -n %n-%n-%{realversion}
%patch0 -p1

%build
mkdir build
Expand Down

0 comments on commit 08ccdfc

Please sign in to comment.