[arrow] added cuda variant (#18715)
This commit is contained in:
parent
4b41d56bc3
commit
e329e13f32
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
from spack import *
|
||||
|
||||
|
||||
class Arrow(CMakePackage):
|
||||
class Arrow(CMakePackage, CudaPackage):
|
||||
"""A cross-language development platform for in-memory data.
|
||||
|
||||
This package contains the C++ bindings.
|
||||
|
@ -59,6 +59,8 @@ def cmake_args(self):
|
|||
"-DARROW_WITH_BROTLI=OFF",
|
||||
"-DARROW_WITH_LZ4=OFF",
|
||||
]
|
||||
if self.spec.satisfies('+cuda'):
|
||||
args.append('-DARROW_CUDA:BOOL=ON')
|
||||
if self.spec.satisfies('+python'):
|
||||
args.append("-DARROW_PYTHON:BOOL=ON")
|
||||
if self.spec.satisfies('+parquet'):
|
||||
|
|
Loading…
Reference in a new issue