SHA256
10
0
forked from pool/hypre
Files
hypre/Add-library-version.patch
Ana Guerrero ee1a95567b Accepting request 866819 from home:anag:branches:science
- Update to 2.20.0
  * New matrix-based interpolation routines for AMG (CPU and GPU)
  * Added GPU support for aggressive coarsening in AMG
  * New AMG-DD solver
  * Improved distributed sparse matrix-matrix and triple-matrix product
    performance on GPUs
  * IJMatrix/Vector assembly on GPUs (with pointers to GPU memory)
  * Updated caliper usage
  * Separated C and C++ headers
  * Updated to support superlu-dist version to 6.3.1
  * Moved reference manual API to online documentation
  * New AMG features to keep specified F-points and/or C-points.
  * Added GPU support for AMG setup and several interpolation approaches.
  * New parallel ILU solvers and smoothers.
  * New MGR features.
  * Added several interpolation routines based on matrix-matrix interpolations.
  * Various bug fixes.
- Remove patch merged by upstream
  * Fix-empty-elseif-in-CMakeLists.txt.patch
- Rework patch following upstream changes
  * Fix-library-version-numbering.patch Patch removed
  * Add-library-version.patch Patch added

OBS-URL: https://build.opensuse.org/request/show/866819
OBS-URL: https://build.opensuse.org/package/show/science/hypre?expand=0&rev=41
2021-01-26 11:56:45 +00:00

29 lines
989 B
Diff

From: Ana Guerrero Lopez <aguerrero@suse.com>
Date: Add library version number
Patch-mainline:
Subject: Mon Jan 25 15:20:57 UTC 2021
Based in a previous patch by Egbert Eich <eich@suse.com>
--- src/CMakeLists.txt
+++ src/CMakeLists.txt
@@ -246,6 +246,9 @@
set (BUILD_SHARED_LIBS OFF CACHE INTERNAL "" FORCE)
endif ()
+# Here HYPRE_MINOR == HYPRE_MAJOR == HYPRE_VERSION
+set_target_properties(HYPRE PROPERTIES VERSION ${HYPRE_VERSION} SOVERSION ${HYPRE_VERSION})
+
# Set MPI compile flags
if (NOT HYPRE_SEQUENTIAL)
find_program (MPIEXEC_EXECUTABLE NAMES mpiexec mpirun)
@@ -302,7 +305,7 @@
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
-install (FILES ${HYPRE_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
+install (FILES ${HYPRE_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hypre")
include (CMakePackageConfigHelpers)
write_basic_package_version_file (