simplified, removed pinning, added python version selector
{% set base_version = "0.1.0" %}
{% set number = "0" %}
{% set cuda_enabled = cuda_compiler_version is not undefined and cuda_compiler_version == '11.0' %}
-{% set build_ext_version = "1.0.0" %}
{% set build_ext = "cuda" if cuda_enabled else "cpu" %}
{% set build_string = "h{}_{}".format(PKG_HASH, number) %}
{% set build_string_ext = "{}_{}".format(build_string, build_ext) %}
@@ -24,7 +23,8 @@ source:
build:
number: {{ number }}
- skip: true # [cuda_compiler_version not in (undefined, "None", "11.0")]
+ skip: True # [cuda_compiler_version not in (undefined, "None", "11.0")]
+ skip: True # [not linux64]
outputs:
@@ -33,7 +33,7 @@ outputs:
script: build-hdk.sh
build:
string: {{ py_build_string_ext }}
- skip: true # [cuda_compiler_version not in (undefined, "None", "11.0") or not linux64]
+ skip: True # [py not in (38, 39)]
missing_dso_whitelist:
- '*/libcuda.*' # [cuda_compiler_version not in (undefined, "None")]
- '*/libjvm.so'
@@ -69,26 +69,21 @@ outputs:
- llvm {{ llvm_version }}
- numpy
- pyarrow ={{ arrow_version }}=*{{ build_ext }}
- - pytest
- #FIXME: this constraint might be removed completely when multiversion pythons will be supported
- - python 3.9
- - tbb
+ - python
- tbb-devel
run:
- arrow-cpp-proc {{ arrow_proc_version }} {{ build_ext }}
- - boost-cpp
- - gxx_{{ target_platform }}
- - {{ pin_compatible('libclang-cpp', max_pin='x.x') }}
- pyarrow ={{ arrow_version }}=*{{ build_ext }}
- #FIXME: we need to remove the constraint and support not only 3.9
- - python 3.9
+ - python
- openjdk 11.*
- zlib
- tbb
+ - boost-cpp
run_constrained:
- arrow-cpp-proc {{ arrow_proc_version }} {{ build_ext }}
- cudatoolkit >=11.0 # [cuda_compiler_version not in (undefined, "None")]
+
test:
requires:
- pytest
