-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port all conda recipes to
rattler-build
(#18054)
Port all condabuild recipes over to use `rattler-build` instead. Contributes to rapidsai/build-planning#47 - To satisfy `rattler`, this changes all the licenses in the `pyproject.toml` files to the SPDX-compliant `Apache-2.0` instead of `Apache 2.0` Authors: - Gil Forsyth (https://github.com/gforsyth) Approvers: - Bradley Dice (https://github.com/bdice) - Vyas Ramasubramani (https://github.com/vyasr) URL: #18054
- Loading branch information
Showing
34 changed files
with
915 additions
and
808 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Copyright (c) 2018-2025, NVIDIA CORPORATION. | ||
schema_version: 1 | ||
|
||
context: | ||
version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} | ||
minor_version: ${{ (version | split("."))[:2] | join(".") }} | ||
cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} | ||
cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' | ||
date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' | ||
py_version: ${{ env.get("RAPIDS_PY_VERSION") }} | ||
py_buildstring: ${{ py_version | version_to_buildstring }} | ||
head_rev: ${{ git.head_rev(".")[:8] }} | ||
|
||
package: | ||
name: cudf-polars | ||
version: ${{ version }} | ||
|
||
source: | ||
path: ../../.. | ||
|
||
build: | ||
string: cuda${{ cuda_major }}_py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} | ||
script: | ||
content: | | ||
./build.sh cudf_polars | ||
secrets: | ||
- AWS_ACCESS_KEY_ID | ||
- AWS_SECRET_ACCESS_KEY | ||
- AWS_SESSION_TOKEN | ||
env: | ||
CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} | ||
CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }} | ||
CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} | ||
CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} | ||
SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} | ||
SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} | ||
SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} | ||
SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} | ||
SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} | ||
SCCACHE_S3_KEY_PREFIX: cudf-polars-${{ env.get("RAPIDS_CONDA_ARCH") }} | ||
|
||
requirements: | ||
host: | ||
- python =${{ py_version }} | ||
- pip | ||
- rapids-build-backend >=0.3.0,<0.4.0.dev0 | ||
- setuptools | ||
- cuda-version =${{ cuda_version }} | ||
run: | ||
- python | ||
- pylibcudf =${{ version }} | ||
- polars >=1.20,<1.24 | ||
- ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} | ||
ignore_run_exports: | ||
by_name: | ||
- cuda-version | ||
|
||
tests: | ||
- python: | ||
imports: | ||
- cudf_polars | ||
pip_check: false | ||
|
||
about: | ||
homepage: ${{ load_from_file("python/cudf_polars/pyproject.toml").project.urls.Homepage }} | ||
license: ${{ load_from_file("python/cudf_polars/pyproject.toml").project.license.text }} | ||
summary: ${{ load_from_file("python/cudf_polars/pyproject.toml").project.description }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.