gearshifft: add v0.4.0, remove v0.2.1-lw (#21437)
Changed maintainer Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
This commit is contained in:
parent
81e3978759
commit
fc15f85986
@ -0,0 +1,22 @@
|
|||||||
|
diff --git spack-src/cmake/init_build_type.cmake.org spack-src/cmake/init_build_type.cmake
|
||||||
|
index c826f5d..4239dd0 100644
|
||||||
|
--- spack-src/cmake/init_build_type.cmake.org
|
||||||
|
+++ spack-src/cmake/init_build_type.cmake
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
# Default build type to use if none was specified
|
||||||
|
-if(NOT DEFINED CMAKE_DEFAULT_BUILD_TYPE)
|
||||||
|
- set(CMAKE_DEFAULT_BUILD_TYPE "Release")
|
||||||
|
+if(NOT DEFINED GEARSHIFFT_DEFAULT_BUILD_TYPE)
|
||||||
|
+ set(GEARSHIFFT_DEFAULT_BUILD_TYPE "Release")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_BUILD_TYPE ${CMAKE_DEFAULT_BUILD_TYPE} CACHE STRING "Build type")
|
||||||
|
@@ -14,6 +14,6 @@ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
|
||||||
|
|
||||||
|
# sets default build type if none was specified
|
||||||
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
|
- message(STATUS "No build type selected, default to ${CMAKE_DEFAULT_BUILD_TYPE}")
|
||||||
|
- set(CMAKE_BUILD_TYPE ${CMAKE_DEFAULT_BUILD_TYPE} CACHE STRING "Build type" FORCE)
|
||||||
|
+ message(STATUS "No build type selected, default to ${GEARSHIFFT_DEFAULT_BUILD_TYPE}")
|
||||||
|
+ set(CMAKE_BUILD_TYPE ${GEARSHIFFT_DEFAULT_BUILD_TYPE} CACHE STRING "Build type" FORCE)
|
||||||
|
endif()
|
@ -12,9 +12,11 @@ class Gearshifft(CMakePackage):
|
|||||||
homepage = "https://github.com/mpicbg-scicomp/gearshifft"
|
homepage = "https://github.com/mpicbg-scicomp/gearshifft"
|
||||||
url = "https://github.com/mpicbg-scicomp/gearshifft/archive/v0.2.1-lw.tar.gz"
|
url = "https://github.com/mpicbg-scicomp/gearshifft/archive/v0.2.1-lw.tar.gz"
|
||||||
|
|
||||||
maintainers = ['ax3l']
|
maintainers = ['zyzzyxdonta']
|
||||||
|
|
||||||
version('0.2.1-lw', sha256='04ba7401615ab29a37089c0dce8580270c0c4aa1ba328c9d438d6e4f163899c5')
|
version('0.4.0', sha256='15b9e4bfa1d9b4fe4ae316f289c67b7be0774cdada5bd7310df4d0e026d9d227')
|
||||||
|
|
||||||
|
patch('gearshifft-v0.4.0-cmake-variable-name.patch', when='@0.4.0')
|
||||||
|
|
||||||
variant('cufft', default=True,
|
variant('cufft', default=True,
|
||||||
description='Compile gearshifft_cufft')
|
description='Compile gearshifft_cufft')
|
||||||
|
Loading…
Reference in New Issue
Block a user