mlpack: add through v4.4.0 (#45707)
This commit is contained in:
parent
886c950423
commit
382ba0d041
@ -18,8 +18,11 @@ class Mlpack(CMakePackage):
|
||||
|
||||
maintainers("wdconinc")
|
||||
|
||||
license("BSD-3-Clause")
|
||||
license("BSD-3-Clause", checked_by="wdconinc")
|
||||
|
||||
version("4.4.0", sha256="61c604026d05af26c244b0e47024698bbf150dfcc9d77b64057941d7d64d6cf6")
|
||||
version("4.3.0", sha256="08cd54f711fde66fc3b6c9db89dc26776f9abf1a6256c77cfa3556e2a56f1a3d")
|
||||
version("4.2.1", sha256="2d2b8d61dc2e3179e0b6fefd5c217c57aa168c4d0b9c6868ddb94f6395a80dd5")
|
||||
version("4.2.0", sha256="f780df984a71029e62eeecdd145fb95deb71b133cefc7840de0ec706d116dd60")
|
||||
version("4.1.0", sha256="e0c760baf15fd0af5601010b7cbc536e469115e9dd45f96712caa3b651b1852a")
|
||||
version("4.0.1", sha256="4c746936ed9da9f16744240ed7b9f2815d3abb90c904071a1d1a628a9bbfb3a5")
|
||||
@ -39,6 +42,10 @@ class Mlpack(CMakePackage):
|
||||
depends_on("ensmallen@2.10.0:")
|
||||
depends_on("cereal@1.1.2:")
|
||||
|
||||
# Compiler conflicts
|
||||
conflicts("%gcc@:4", when="@4.0:", msg="mlpack 4.0+ requires at least gcc-5 with C++14")
|
||||
conflicts("%gcc@:7", when="@4.4:", msg="mlpack 4.4+ requires at least gcc-8 with C++17")
|
||||
|
||||
# TODO: Go bindings are not supported due to the absence of gonum in spack
|
||||
# with when("+go"):
|
||||
# # ref: src/mlpack/bindings/go/CMakeLists.txt
|
||||
|
Loading…
Reference in New Issue
Block a user