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] cudf_backtrace missing for static build with CUDF_BUILD_STACKTRACE_DEBUG=ON #16724

Open
jlowe opened this issue Sep 3, 2024 · 2 comments
Labels
bug Something isn't working CMake CMake build issue

Comments

@jlowe
Copy link
Member

jlowe commented Sep 3, 2024

Describe the bug
Attempting to configure libcudf as a static library with backtrace debug enabled fails with:

CMake Error in CMakeLists.txt:
  export called with target "cudf" which requires target "cudf_backtrace"
  that is not in any export set.

Steps/Code to reproduce bug

mkdir cpp/build
cd cpp/build
cmake .. -DBUILD_SHARED_LIBS=OFF -DCUDF_BUILD_STACKTRACE_DEBUG=ON

Expected behavior
cmake configuration completes successfully and the build will add backtrace debug support in libcudf.

Environment overview (please complete the following information)

@jlowe jlowe added bug Something isn't working CMake CMake build issue labels Sep 3, 2024
@vyasr
Copy link
Contributor

vyasr commented Sep 4, 2024

Presumably this is rapidsai/rapids-cmake#176 again, and we need to add an extra install rule like we do for the conda_env.

@jlowe
Copy link
Member Author

jlowe commented Sep 4, 2024

Thanks for taking a look @vyasr! I agree, seems related to that issue. Note that this is not high priority. I ran across it while trying to do a debug build to help track down a problem. It is not something we're going to add to our normal build.

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
Projects
None yet
Development

No branches or pull requests

2 participants