Skip to content

[BUG] Java cudf build fails in non-conda environment with unable to find rapids-cmake #9073

@jlowe

Description

@jlowe

Describe the bug
Building the cudf Java jar in the non-conda Docker environment fails with the following error:

-- CPM: adding package cuco@0 (0d602ae21ea4f38d23ed816aa948453d97b2ee4e)
CMake Error at build/_deps/cuco-src/CMakeLists.txt:25 (include):
  include could not find requested file:

    rapids-cmake


CMake Error at build/_deps/cuco-src/CMakeLists.txt:26 (include):
  include could not find requested file:

    rapids-cpm


CMake Error at build/_deps/cuco-src/CMakeLists.txt:27 (include):
  include could not find requested file:

    rapids-cuda


CMake Error at build/_deps/cuco-src/CMakeLists.txt:28 (include):
  include could not find requested file:

    rapids-export


CMake Error at build/_deps/cuco-src/CMakeLists.txt:29 (include):
  include could not find requested file:

    rapids-find


CMake Error at build/_deps/cuco-src/CMakeLists.txt:33 (rapids_cuda_init_architectures):
  Unknown CMake command "rapids_cuda_init_architectures".

This appears to have been triggered by #8476.

Steps/Code to reproduce bug
Follow the steps in java/ci/README.md to build outside of the conda environment in the Docker container

Expected behavior
The Java non-conda environment build succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    JavaAffects Java cuDF API.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions