summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-03-09 10:14:33 +0100
committerGitHub <noreply@github.com>2022-03-09 02:14:33 -0700
commit89e2ee70e23bd6217f1507b274d93de721d4dc97 (patch)
tree7fde936cd0cafbb868cb2612f738c31727152632 /var
parent2111cf8044ba2d772c38f3fcd4c0851597a50c4a (diff)
downloadspack-89e2ee70e23bd6217f1507b274d93de721d4dc97.tar.gz
spack-89e2ee70e23bd6217f1507b274d93de721d4dc97.tar.bz2
spack-89e2ee70e23bd6217f1507b274d93de721d4dc97.tar.xz
spack-89e2ee70e23bd6217f1507b274d93de721d4dc97.zip
hadoop-xrootd: add new package (#29401)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hadoop-xrootd/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hadoop-xrootd/package.py b/var/spack/repos/builtin/packages/hadoop-xrootd/package.py
new file mode 100644
index 0000000000..1a7838d6a6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hadoop-xrootd/package.py
@@ -0,0 +1,26 @@
+# 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 import *
+
+
+class HadoopXrootd(MavenPackage):
+ """Connector between Hadoop and XRootD protocols (EOS compatible)."""
+
+ homepage = "https://gitlab.cern.ch/db/hadoop-xrootd"
+ url = "https://lcgpackages.web.cern.ch/tarFiles/sources/hadoop-xrootd-v1.0.7.tar.gz"
+
+ maintainers = ['haralmha']
+
+ version('1.0.7', sha256='9a129dc14b3dc139aa4da7543f6392a5c80b41fea6bb9f6cd27db5acf6f5471f')
+
+ depends_on('hadoop')
+ depends_on('xrootd')
+
+ def build_args(self):
+ xrootd_prefix = self.spec['xrootd'].prefix
+ return [
+ '-Dxrootd.include.path={0}/include/xrootd'.format(xrootd_prefix)
+ ]