diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 60c4f15..bc9e7ba 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -24,18 +24,6 @@ jobs: CONFIG: linux_64_c_compiler_version9cuda_compiler_version11.0cxx_compiler_version9 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.0 - linux_aarch64_c_compiler_version10cuda_compiler_version11.2cxx_compiler_version10: - CONFIG: linux_aarch64_c_compiler_version10cuda_compiler_version11.2cxx_compiler_version10 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 - linux_aarch64_c_compiler_version9cuda_compiler_version11.0cxx_compiler_version9: - CONFIG: linux_aarch64_c_compiler_version9cuda_compiler_version11.0cxx_compiler_version9 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64-cuda:11.0 - linux_aarch64_c_compiler_version9cuda_compiler_version11.1cxx_compiler_version9: - CONFIG: linux_aarch64_c_compiler_version9cuda_compiler_version11.1cxx_compiler_version9 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64-cuda:11.1 linux_ppc64le_c_compiler_version10cuda_compiler_version11.2cxx_compiler_version10: CONFIG: linux_ppc64le_c_compiler_version10cuda_compiler_version11.2cxx_compiler_version10 UPLOAD_PACKAGES: 'True' diff --git a/.ci_support/migrations/spdlog110.yaml b/.ci_support/migrations/spdlog110.yaml deleted file mode 100644 index 3713e84..0000000 --- a/.ci_support/migrations/spdlog110.yaml +++ /dev/null @@ -1,7 +0,0 @@ -__migrator: - build_number: 1 - kind: version - migration_number: 1 -migrator_ts: 1649104681.268471 -spdlog: -- '1.10' diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..dc9ae37 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +# This file was generated automatically from conda-smithy. To update this configuration, +# update the conda-forge.yml and/or the recipe/meta.yaml. + +language: generic + + + +matrix: + include: + - env: CONFIG=linux_aarch64_c_compiler_version10cuda_compiler_version11.2cxx_compiler_version10 UPLOAD_PACKAGES=True PLATFORM=linux-aarch64 DOCKER_IMAGE=quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 + os: linux + arch: arm64 + dist: focal + + - env: CONFIG=linux_aarch64_c_compiler_version9cuda_compiler_version11.0cxx_compiler_version9 UPLOAD_PACKAGES=True PLATFORM=linux-aarch64 DOCKER_IMAGE=quay.io/condaforge/linux-anvil-aarch64-cuda:11.0 + os: linux + arch: arm64 + dist: focal + + - env: CONFIG=linux_aarch64_c_compiler_version9cuda_compiler_version11.1cxx_compiler_version9 UPLOAD_PACKAGES=True PLATFORM=linux-aarch64 DOCKER_IMAGE=quay.io/condaforge/linux-anvil-aarch64-cuda:11.1 + os: linux + arch: arm64 + dist: focal + +script: + - export CI=travis + - export GIT_BRANCH="$TRAVIS_BRANCH" + - export FEEDSTOCK_NAME=$(basename ${TRAVIS_REPO_SLUG}) + - if [[ "${TRAVIS_PULL_REQUEST:-}" == "false" ]]; then export IS_PR_BUILD="False"; else export IS_PR_BUILD="True"; fi + + + - if [[ ${PLATFORM} =~ .*linux.* ]]; then CONDA_FORGE_DOCKER_RUN_ARGS="--network=host --security-opt=seccomp=unconfined" ./.scripts/run_docker_build.sh; fi \ No newline at end of file diff --git a/README.md b/README.md index 0c51520..44c5dfb 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,14 @@ Current build status ==================== -<table> +<table><tr> + <td>Travis</td> + <td> + <a href="https://app.travis-ci.com/conda-forge/librmm-feedstock"> + <img alt="linux" src="https://img.shields.io/travis/com/conda-forge/librmm-feedstock/main.svg?label=Linux"> + </a> + </td> + </tr> <tr> <td>Azure</td> diff --git a/conda-forge.yml b/conda-forge.yml index 3cbe157..a661e80 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -7,5 +7,5 @@ os_version: linux_aarch64: cos7 linux_ppc64le: cos7 provider: - linux_aarch64: azure + linux_aarch64: default linux_ppc64le: azure diff --git a/recipe/build.sh b/recipe/build.sh index c788113..66e0d5b 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -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 . diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5275cc5..b9482ab 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -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") }} @@ -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: