Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Thrust/CUB version used at build time #31

Closed
wants to merge 14 commits into from
12 changes: 0 additions & 12 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .ci_support/migrations/spdlog110.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ os_version:
linux_aarch64: cos7
linux_ppc64le: cos7
provider:
linux_aarch64: azure
linux_aarch64: default
linux_ppc64le: azure
3 changes: 3 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ cmake -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-DBUILD_TESTS=${BUILD_TESTS} \
-DBUILD_BENCHMARKS=${BUILD_BENCHMARKS} \
-DCPM_LOCAL_PACKAGES_ONLY=ON \
-DThrust_ROOT=${PREFIX} \
-Dspdlog_ROOT=${PREFIX} \
-B "${LIBRMM_BUILD_DIR}" \
-S .

Expand Down
8 changes: 5 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
folder: rmm

build:
number: 1
number: 2
skip: true # [(not linux) or (cuda_compiler_version == "None")]
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
Expand All @@ -28,10 +28,12 @@ requirements:
- make
host:
- spdlog
- thrust >=1.9.0
- thrust 1.15.*
- cub 1.15.*
run:
# - spdlog >=1.8.5 # (version constraint set via run_exports)
- thrust >=1.9.0
- thrust 1.15.*
- cub 1.15.*

test:
commands:
Expand Down