Skip to content
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

[BUG] libcudf fails to configure as static library due to nanoarrow #15435

Closed
jlowe opened this issue Apr 2, 2024 · 1 comment
Closed

[BUG] libcudf fails to configure as static library due to nanoarrow #15435

jlowe opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code.

Comments

@jlowe
Copy link
Member

jlowe commented Apr 2, 2024

Describe the bug
CMake fails to configure libcudf as a static library build with the error:

[INFO]      [exec] CMake Error: install(EXPORT "cudf-exports" ...) includes target "cudf" which requires target "nanoarrow" that is not in any export set.
[INFO]      [exec] -- Generating done (0.1s)
[INFO]      [exec] CMake Error in CMakeLists.txt:
[INFO]      [exec]   export called with target "cudf" which requires target "nanoarrow" that is
[INFO]      [exec]   not in any export set.

Steps/Code to reproduce bug

mkdir cpp/build
cd cpp/build
cmake .. -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=libcudfroot -DCUDA_STATIC_RUNTIME=ON -DCUDF_ENABLE_ARROW_S3=OFF -DCUDF_ENABLE_ARROW_PARQUET=ON -DCUDF_USE_ARROW_STATIC=ON -DCUDF_USE_PER_THREAD_DEFAULT_STREAM=ON -DLIBCUDF_LOGGING_LEVEL=OFF

Expected behavior
cmake configure of a static libcudf library does not fail.

Environment overview (please complete the following information)

@jlowe jlowe added bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Apr 2, 2024
@jlowe jlowe added the duplicate label Apr 2, 2024
@jlowe
Copy link
Member Author

jlowe commented Apr 2, 2024

Duplicate of #15434.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code.
Projects
None yet
Development

No branches or pull requests

1 participant