blitz: use cmake (#44804)
This commit is contained in:
parent
adedf58297
commit
59fbbdd9ce
@ -6,7 +6,7 @@
|
|||||||
from spack.package import *
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
class Blitz(AutotoolsPackage):
|
class Blitz(CMakePackage):
|
||||||
"""N-dimensional arrays for C++"""
|
"""N-dimensional arrays for C++"""
|
||||||
|
|
||||||
homepage = "https://github.com/blitzpp/blitz"
|
homepage = "https://github.com/blitzpp/blitz"
|
||||||
@ -17,16 +17,6 @@ class Blitz(AutotoolsPackage):
|
|||||||
version("1.0.2", sha256="500db9c3b2617e1f03d0e548977aec10d36811ba1c43bb5ef250c0e3853ae1c2")
|
version("1.0.2", sha256="500db9c3b2617e1f03d0e548977aec10d36811ba1c43bb5ef250c0e3853ae1c2")
|
||||||
|
|
||||||
depends_on("python@3:", type="build")
|
depends_on("python@3:", type="build")
|
||||||
depends_on("m4", type="build")
|
|
||||||
depends_on("autoconf", type="build")
|
|
||||||
depends_on("automake", type="build")
|
|
||||||
depends_on("libtool", type="build")
|
|
||||||
|
|
||||||
# Fix makefile and include to build with Fujitsu compiler
|
# Fix makefile and include to build with Fujitsu compiler
|
||||||
patch("fujitsu_compiler_specfic_header.patch", when="%fj")
|
patch("fujitsu_compiler_specfic_header.patch", when="%fj")
|
||||||
|
|
||||||
build_targets = ["lib"]
|
|
||||||
|
|
||||||
def check(self):
|
|
||||||
make("check-testsuite")
|
|
||||||
make("check-examples")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user