Fix out-of-source build on F33 (bug #1863948)

This commit is contained in:
Christoph Junghans 2020-08-04 20:36:53 -06:00
parent d40cce347c
commit 438acffb40

View File

@ -1,14 +1,12 @@
%undefine __cmake_in_source_build
Name: kokkos
Version: 3.1.01
%global sover 3.1.1
Release: 3%{?dist}
Summary: Kokkos C++ Performance Portability Programming
#no support for 32-bit archs https://github.com/kokkos/kokkos/issues/2312
Release: 4%{?dist}
Summary: Kokkos C++ Performance Portability Programming
# no support for 32-bit archs https://github.com/kokkos/kokkos/issues/2312
ExcludeArch: i686 armv7hl
License: BSD
License: BSD
URL: https://github.com/kokkos/kokkos
Source0: https://github.com/kokkos/kokkos/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
@ -55,7 +53,11 @@ This package contains the development files of %{name}.
%cmake3_install
%check
%ctest3
# https://github.com/kokkos/kokkos/issues/2959 - unstable test
%ifarch s390x
%global testargs --exclude-regex KokkosCore_UnitTest_StackTraceTest
%endif
%ctest3 %{?testargs}
%files
%doc README.md
@ -69,6 +71,9 @@ This package contains the development files of %{name}.
%{_bindir}/nvcc_wrapper
%changelog
* Mon Aug 03 2020 Christoph Junghans <junghans@votca.org> - 3.1.01-4
- Fix out-of-source build on F33 (bug #1863948)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.01-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild