forked from pool/python3-espressomd
Accepting request 973778 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/973778 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-espressomd?expand=0&rev=13
This commit is contained in:
commit
26578fe1ce
14
hdf5.patch
Normal file
14
hdf5.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
|
||||
index c956b9de1..b68208eaa 100644
|
||||
--- a/src/core/CMakeLists.txt
|
||||
+++ b/src/core/CMakeLists.txt
|
||||
@@ -189,6 +189,9 @@ endif(SCAFACOS)
|
||||
# Subdirectories
|
||||
add_subdirectory(io)
|
||||
|
||||
+if(H5MD)
|
||||
+ target_link_libraries(EspressoCore PUBLIC ${HDF5_LIBRARIES})
|
||||
+endif(H5MD)
|
||||
|
||||
if(WITH_UNIT_TESTS)
|
||||
add_subdirectory(unit_tests)
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 16 00:24:21 UTC 2022 - Jean-Noel Grad <jgrad@icp.uni-stuttgart.de>
|
||||
|
||||
- added rpath.patch to fix the failing Rpath checks (see
|
||||
boo#1198352)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 16 00:19:40 UTC 2022 - Jean-Noel Grad <jgrad@icp.uni-stuttgart.de>
|
||||
|
||||
- added hdf5.patch to fix builds with H5MD (see
|
||||
gh#espressomd/espresso#3543)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 12 22:24:29 UTC 2021 - Christoph Junghans <junghans@votca.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python3-espressomd
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2014 Christoph Junghans
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -46,6 +46,10 @@ Source: https://github.com/%{modname}/%{pkgname}/releases/download/%{ver
|
||||
Patch0: boost-1.74.patch
|
||||
# PATCH-FIX-OPENSUSE missing_size_t.patch gh#espressomd/espresso#4274
|
||||
Patch1: missing_size_t.patch
|
||||
# PATCH-FIX-OPENSUSE hdf5.patch gh#espressomd/espresso#3543
|
||||
Patch2: hdf5.patch
|
||||
# PATCH-FIX-OPENSUSE rpath.patch boo#1198352
|
||||
Patch3: rpath.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fftw3-devel
|
||||
BuildRequires: gcc-c++
|
||||
@ -85,6 +89,8 @@ systems, for example DNA and lipid membranes.
|
||||
%setup -q -n %{pkgname}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
|
||||
|
13
rpath.patch
Normal file
13
rpath.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 238e6dac3..96cbaa9a9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
message(STATUS "CMake version: ${CMAKE_VERSION}")
|
||||
+set(CMAKE_SKIP_RPATH ON)
|
||||
|
||||
# C++ standard
|
||||
enable_language(CXX)
|
||||
|
Loading…
Reference in New Issue
Block a user