build-test-cudf-java
Skill9.8k starsChanged 3 months agoApache-2.0View on GitHub
Build and test cudf Java bindings (cudf-java) inside a cudf devcontainer. Use when the user asks to build, compile, or test Java code in the cudf repository.
- Installs packages
Trending
More talk lately.thin dataabout the whole repository
Who's talking about NVIDIA/cudf
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 5, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 4, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 2, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-release/26.10 to release/26.10 [skip ci] [bot]”GitHub · Oct 1, 2026 · 1 reactions
- NVIDIA/cudf-spark-jni“[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot]”GitHub · Oct 1, 2026 · 1 reactions
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub (9 times).
On GitHub · 9
- Oct 5, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 4, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 2, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 1, 2026[submodule-sync] bot-submodule-sync-release/26.10 to release/26.10 [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Oct 1, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
4 more on GitHub
- Oct 1, 2026Seed pre-commit cache from main builds — rapidsai/cugraph-gnn1 reaction · 2 comments
- Oct 1, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Sep 30, 2026[submodule-sync] bot-submodule-sync-main to main [skip ci] [bot] — NVIDIA/cudf-spark-jni1 reaction · 3 comments
- Sep 22, 2026Support cached broadcast semi/anti joins via reusable FilteredJoin [databricks] — NVIDIA/cudf-spark1 reaction · 5 comments
In this repository9 other files it gives its agents.
- build-test-cudfSkill
- debug-cudf-pandasSkill
- perf-compare-cudfSkill
- reproduce-ciSkill
- review-cudf-polars-expressionsSkill
- review-cudfSkill
- update-narwhals-testingSkill
- accelerated-computing-cudfSkill
- cudf-query-engine-builderSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Ensure JDK (17+) and Maven are installed:
- Distinctive: line 18
If either is missing, detect the OS and install using the appropriate package manager.
- Very specific: line 27
Run all Maven commands below from the java/ directory.
- Distinctive: line 31
Prefer the installed nightly package when the changes are limited to Java or JNI and the user has not requested a libcudf source rebuild:
- Distinctive: line 35
Use a local libcudf source build when the changes affect libcudf, require unreleased libcudf headers or symbols, no compatible nightly …
- Very specific: line 73
Use the named main-tests execution for specific ordinary tests so -Dtest does not affect the separately configured executions.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build and Test cudf-java
Prerequisites
JDK and Maven
Ensure JDK (17+) and Maven are installed:
java -version && mvn --versionIf either is missing, detect the OS and install using the appropriate package manager. Hints:
- Debian/Ubuntu (
apt):sudo apt-get update -qq && sudo apt-get install -y -qq default-jdk maven - Fedora/RHEL (
dnf):sudo dnf install -y java-17-openjdk-devel maven - Arch (
pacman):sudo pacman -S --noconfirm jdk17-openjdk maven - macOS (
brew):brew install openjdk@17 maven
Detect the OS by checking which package manager is available (e.g. command -v apt-get, command -v dnf, etc.) and use the matching command.
Run all Maven commands below from the java/ directory.
Choose a libcudf provider
Prefer the installed nightly package when the changes are limited to Java or JNI and the user has not requested a libcudf source rebuild:
- Build JNI against an installed nightly libcudf, then continue at Running Java tests.
Use a local libcudf source build when the changes affect libcudf, require unreleased libcudf headers or symbols, no compatible nightly exists, or the user explicitly requests a source build:
- Build JNI against a local libcudf build, then continue at Running Java tests.
Running Java tests
Always run mvn install $MVN_COMMON_OPTS -DskipTests first before running tests. The mvn test goal re-triggers the cmake/native build step. If target/cmake-build already contains fully built artifacts from a prior mvn install, this is an incremental no-op. But if the cmake-build directory was cleaned or is missing, mvn test may hit a race condition where the linker tries to link libcudfjni.so before libarrow.a is fully built, causing a cannot find libarrow.a error. If this happens, re-run mvn install $MVN_COMMON_OPTS -DskipTests to rebuild the native code cleanly, then retry mvn test.
All tests
mvn test $MVN_COMMON_OPTSThe POM routes tests that need special assertion or fork behavior to dedicated Surefire executions.
Discovering tests
Java test sources are at src/test/java/ai/rapids/cudf/. Use find or glob to discover test classes:
find src/test/java -name "*Test.java" | head -20Specific test class
mvn surefire:test@main-tests $MVN_COMMON_OPTS \
-Dtest="<ClassName>"Specific test method
mvn surefire:test@main-tests $MVN_COMMON_OPTS \
-Dtest="<ClassName>#<testName>"Use the named main-tests execution for specific ordinary tests so -Dtest does not affect the separately configured executions.
Tests with special configuration
Invoke tests that require special configuration through their dedicated executions:
mvn surefire:test@non-empty-null-test $MVN_COMMON_OPTS
mvn surefire:test@fatal-cuda-test $MVN_COMMON_OPTS
mvn surefire:test@native-deps-loader-test $MVN_COMMON_OPTSDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

