New package: libcudf (#19110)

* [libcudf] created template

* [libcudf] depends on cuda

* [libcudf] set cmake dir

* [libcudf] depends on boost

* [libcudf] depends on py-pyarrow

* [libcudf] depends on librmm

* [libcudf] depends on dlpack

* [libcudf] added more dependency information from https://github.com/rapidsai/libcudf/blob/v0.15.0/CONTRIBUTING.md#customizing-the-build

* [libcudf] removed python dependencies

* [libcudf] fixed url that got mangled in package renaming

* [libcudf] added default build options from build.sh

* [libcudf] added version 0.16.0a

* [libcudf] removed version 0.16.0a as it's an alpha version

* [libcudf] added homepage and description. removed fixmes

* [libcudf] flake8

* [libcudf] arrow requires +orc

* [libcudf] requires +parquet

* [libcudf] checksum changed
This commit is contained in:
Jen Herting 2020-10-27 21:11:06 -04:00 committed by GitHub
parent 7bd5397aca
commit 79b0eab2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,36 @@
# Copyright 2013-2020 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 Libcudf(CMakePackage):
"""Built based on the Apache Arrow columnar memory format,
cuDF is a GPU DataFrame library for loading, joining,
aggregating, filtering, and otherwise manipulating data."""
homepage = "https://rapids.ai"
url = "https://github.com/rapidsai/cudf/archive/v0.15.0.tar.gz"
version('0.15.0', sha256='2570636b72cce4c52f71e36307f51f630e2f9ea94a1abc018d40ce919ba990e4')
depends_on('cmake@3.14:', type='build')
depends_on('cuda@10.0:')
depends_on('boost')
depends_on('arrow+cuda+orc+parquet')
depends_on('librmm')
depends_on('dlpack')
root_cmakelists_dir = 'cpp'
def cmake_args(self):
args = []
# args.append('-DGPU_ARCHES')
args.append('-DUSE_NVTX=ON')
args.append('-DBUILD_BENCHMARKS=OFF')
args.append('-DDISABLE_DEPRICATION_WARNING=ON')
args.append('-DPER_THREAD_DEFAULT_STREAM=OFF')
return args