From a62f8698c3fd7310601cc1b86b112982cdfff85d Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 16 Nov 2017 09:37:17 -0800 Subject: Add UFO and dependencies (#6337) * Add json-glib * Add ufo-core * Add ufo-filters --- .../repos/builtin/packages/json-glib/package.py | 37 ++++++++++++++++++++ .../repos/builtin/packages/ufo-core/package.py | 40 ++++++++++++++++++++++ .../repos/builtin/packages/ufo-filters/package.py | 38 ++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 var/spack/repos/builtin/packages/json-glib/package.py create mode 100644 var/spack/repos/builtin/packages/ufo-core/package.py create mode 100644 var/spack/repos/builtin/packages/ufo-filters/package.py diff --git a/var/spack/repos/builtin/packages/json-glib/package.py b/var/spack/repos/builtin/packages/json-glib/package.py new file mode 100644 index 0000000000..07b067c22f --- /dev/null +++ b/var/spack/repos/builtin/packages/json-glib/package.py @@ -0,0 +1,37 @@ +############################################################################## +# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/spack/spack +# Please also see the NOTICE and LICENSE files for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class JsonGlib(AutotoolsPackage): + """JSON-GLib is a library for reading and parsing JSON using GLib and + GObject data types and API.""" + + homepage = "https://developer.gnome.org/json-glib" + url = "https://ftp.gnome.org/pub/gnome/sources/json-glib/1.2/json-glib-1.2.8.tar.xz" + + version('1.2.8', 'ff31e7d0594df44318e12facda3d086e') + + depends_on('glib') diff --git a/var/spack/repos/builtin/packages/ufo-core/package.py b/var/spack/repos/builtin/packages/ufo-core/package.py new file mode 100644 index 0000000000..1ccc0d73b5 --- /dev/null +++ b/var/spack/repos/builtin/packages/ufo-core/package.py @@ -0,0 +1,40 @@ +############################################################################## +# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/spack/spack +# Please also see the NOTICE and LICENSE files for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class UfoCore(CMakePackage): + """The UFO data processing framework is a C library suited to build general + purpose streams data processing on heterogeneous architectures such as + CPUs, GPUs or clusters. This package contains the run-time system and + development files.""" + + homepage = "https://ufo.kit.edu" + url = "https://github.com/ufo-kit/ufo-core/archive/v0.14.0.tar.gz" + + version('0.14.0', '3bd94d10d0f589953aba11821a8295f3') + + depends_on('glib') + depends_on('json-glib') diff --git a/var/spack/repos/builtin/packages/ufo-filters/package.py b/var/spack/repos/builtin/packages/ufo-filters/package.py new file mode 100644 index 0000000000..675c268cac --- /dev/null +++ b/var/spack/repos/builtin/packages/ufo-filters/package.py @@ -0,0 +1,38 @@ +############################################################################## +# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/spack/spack +# Please also see the NOTICE and LICENSE files for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class UfoFilters(CMakePackage): + """The UFO data processing framework is a C library suited to build general + purpose streams data processing on heterogeneous architectures such as + CPUs, GPUs or clusters. This package contains filter plugins.""" + + homepage = "https://ufo.kit.edu" + url = "https://github.com/ufo-kit/ufo-filters/archive/v0.14.1.tar.gz" + + version('0.14.1', 'f2a81f5d38cfa71de58cbb5279782297') + + depends_on('ufo-core') -- cgit v1.2.3-70-g09d2