-
Notifications
You must be signed in to change notification settings - Fork 930
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
Port all conda recipes to rattler-build
#18054
Open
gforsyth
wants to merge
51
commits into
rapidsai:branch-25.04
Choose a base branch
from
gforsyth:rattler-build
base: branch-25.04
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
c2ef5c6
Add rattler-build recipe for libcudf
gforsyth 41bf994
Add rattler-build recipe for pylibcudf
gforsyth 67e73d4
Add rattler-build recipe for dask-cudf
gforsyth b8a201b
Add rattler-build recipe for custreamz
gforsyth f0bd7b3
Add rattler-build recipe for cudf_kafka
gforsyth 49c1554
Add rattler-build recipe for cudf-polars
gforsyth 8f8f262
Add rattler-build recipe for cudf
gforsyth e085f3b
Update `build_python.sh` to use `rattler-build`
gforsyth 273ebba
Fix ignore_run_export condition
gforsyth 369277c
disable non-conda workflows
gforsyth 806a0e4
remove cuda_version pin from compiler
gforsyth 700d98e
fix libcufile version typo
gforsyth 6353636
swap build and requirements ordering
gforsyth 526cd38
add buildstringified py_version to all python recipes
gforsyth f277e5d
use double-quotes everywhere
gforsyth e78f088
fix(libcudf-tests): add missing else package
gforsyth 892cb8d
make whitespace and newlines consistent
gforsyth b88ac25
ci(build_python): longname for cli args
gforsyth 5a3e078
fix(build_python): consistently show and zero sccache stats
gforsyth bd084f6
fix(libcudf): disambiguate cuda11 versions for libcufile and libcurand
gforsyth 11ca191
debug: render-only for cpp build because context seems wrong
gforsyth 6f944c9
fix(libcudf-examples): cuda-nvtx-dev for cuda12
gforsyth 2e16236
fix(all): wrap cuda_major and date_string in quotes
gforsyth 075c287
(debug): turn off render-only
gforsyth e450344
fix(libcudf): make sure `cmake` is in `host` for `--install`
gforsyth a79e922
fix(libcudf): only use libcufile on linux64
gforsyth 0420e2a
fix(libcudf): add `make` (`CMAKE_BUILD_PROGRAM` not set)
gforsyth 23a65b7
fix(pypkgs): add `pip` to host
gforsyth aafe473
fix(libcudf): move `cmake` to `build`
gforsyth b1e3c92
fix(custreamz): update license, remove double $
gforsyth 16d6728
fix(libcudf): fix overlinking
gforsyth f049b95
fix(cudf): don't overconstrain cuda-version
gforsyth 258bbe5
fix(custreamz): add `py_version`
gforsyth a13d1f3
fix(pylibcudf): simplify neq syntax
gforsyth bb41ea3
fix(custreamz): remove unnecessary ignore_run_exports
gforsyth a4c06fe
refactor(libcudf): multiline yaml block for build script
gforsyth ba1eae2
fix(dask-cudf): remove extraneous ignore_run_export
gforsyth eb84ed5
fix(libcudf): remove CMAKE_INSTALL_LIBDIR arg
gforsyth f7fb713
refactor(all): use multiline yaml block for all script contents
gforsyth 90f33d4
chore(cudf): update numpy and numba pins
gforsyth 058c466
fix(py): set explicit py_version for python outputs
gforsyth cfcf834
fix(libcudf): allowlist `libnvidia-ml.so.1`
gforsyth 42ece0b
chore: restore additional commented-out workflow jobs
gforsyth 2d7b95c
fix(libcudf): resolve overlinking error
gforsyth e3972e9
fix(cudf-polars): bump to <1.24
gforsyth 167b310
fix(python): prepend $CPP_CHANNEL to $RATTLER_CHANNELS
gforsyth 29bcce7
chore: remove verbose flags
gforsyth 5c0caff
chore: remove secrets and env from pure python packages
gforsyth 8a6e1c4
fix(libcudf): remove cudf_ROOT argument
gforsyth 8413cbe
fix(build_python): channel flag is a separate array element
gforsyth 76ce12a
fix(libcudf): remove cache-busting debug line from CFLAGS and CXXFLAGS
gforsyth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,68 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json | ||
# 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit (totally not worth holding up this PR over): if we're going to pass basically the exact same set of rattler options to every build command across every repo (especially things like --experimental, and --channel-priority that we will presumably want to remove from every repo in concert) it seems like having
rapids-rattler-channel-string
also populate some standard arg set would also be helpful.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll handle this in a follow-up, but it's a good idea.
rapidsai/build-planning#156