diff options
author | SoniaScard <83462318+SoniaScard@users.noreply.github.com> | 2022-10-20 19:56:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 10:56:53 -0700 |
commit | 69e66f57a928b5d0d046e97c90a987505f4fc76a (patch) | |
tree | ff62a95bb775c0965da8cbcbfbb4914bafb5f7fd /var | |
parent | 0b873be13c09d28ac1423de6ccebe7cb502fcd3a (diff) | |
download | spack-69e66f57a928b5d0d046e97c90a987505f4fc76a.tar.gz spack-69e66f57a928b5d0d046e97c90a987505f4fc76a.tar.bz2 spack-69e66f57a928b5d0d046e97c90a987505f4fc76a.tar.xz spack-69e66f57a928b5d0d046e97c90a987505f4fc76a.zip |
ophidia-primitives: new package at v1.7 (#33434)
* ophidia-primitives: new package at v1.7
* ophidia-primitives: Add mantainers
* ophidia-primitives: Fix style
Co-authored-by: SoniaScard <SoniaScard@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ophidia-primitives/package.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ophidia-primitives/package.py b/var/spack/repos/builtin/packages/ophidia-primitives/package.py new file mode 100644 index 0000000000..804df33e37 --- /dev/null +++ b/var/spack/repos/builtin/packages/ophidia-primitives/package.py @@ -0,0 +1,41 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class OphidiaPrimitives(AutotoolsPackage): + """Array-based primitives for the Ophidia framework""" + + homepage = "https://github.com/OphidiaBigData/ophidia-primitives" + url = "https://github.com/OphidiaBigData/ophidia-primitives/archive/refs/tags/v1.7.1.tar.gz" + maintainers = ["eldoo", "SoniaScard"] + version( + "1.7.1", + sha256="efec5248dca8fb766abcd536344eefbe2e970fb551f03454a968e59e2df69116", + ) + + depends_on("autoconf", type="build") + depends_on("automake", type="build") + depends_on("libtool", type="build") + depends_on("m4", type="build") + depends_on("pkg-config", type="build") + + depends_on("boost@1.79.0") + depends_on("mysql") + depends_on("libmatheval") + depends_on("zlib") + depends_on("gsl") + + def autoreconf(self, spec, prefix): + autoreconf("--install", "--verbose", "--force") + + def configure_args(self): + args = [ + "--with-gsl-lib-path={0}".format(self.spec["gsl"].prefix.lib), + "--with-gsl-header-path={0}".format(self.spec["gsl"].prefix.include), + ] + + return args |