diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ophidia-io-server/package.py | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ophidia-io-server/package.py b/var/spack/repos/builtin/packages/ophidia-io-server/package.py new file mode 100644 index 0000000000..9b2ee7a03c --- /dev/null +++ b/var/spack/repos/builtin/packages/ophidia-io-server/package.py @@ -0,0 +1,39 @@ +# 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 OphidiaIoServer(AutotoolsPackage): + """In-memory IO server of the Ophidia framework""" + + homepage = "https://github.com/OphidiaBigData/ophidia-io-server" + url = "https://github.com/OphidiaBigData/ophidia-io-server/archive/refs/tags/v1.7.2.tar.gz" + maintainers = ["eldoo", "SoniaScard"] + version("1.7.2", sha256="8b203c44e0e5497c00f1fdb2322f0b0a41f36900b62a33d95a4570ae1ccc2971") + + depends_on("autoconf", type="build") + depends_on("automake", type="build") + depends_on("libtool", type="build") + depends_on("m4", type="build") + + depends_on("boost@1.79.0") + depends_on("netcdf-c") + depends_on("mysql") + depends_on("bison") + depends_on("flex") + depends_on("ophidia-primitives") + + def autoreconf(self, spec, prefix): + autoreconf("--install", "--verbose", "--force") + + def configure_args(self): + args = [ + "--with-plugin-path={0}".format(self.spec["ophidia-primitives"].prefix.lib), + "--with-netcdf-path={0}".format(self.spec["netcdf-c"].prefix), + "--enable-parallel-nc4", + ] + + return args |