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

Only add cuco::cuco alias to global_targets #282

Conversation

trxcllnt
Copy link
Collaborator

Trying to fix this error in rapidsai/cuml#4012:

CMake Warning (dev) at /opt/conda/envs/rapids/lib64/cmake/raft/raft-dependencies.cmake:23:
  Syntax Warning in cmake code at column 46

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  /opt/conda/envs/rapids/lib64/cmake/raft/raft-config.cmake:72 (include)
  build/cmake/CPM_7644c3a40fc7889f8dee53ce21e85dc390b883dc.cmake:204 (find_package)
  build/cmake/CPM_7644c3a40fc7889f8dee53ce21e85dc390b883dc.cmake:255 (cpm_find_package)
  build/_deps/rapids-cmake-src/rapids-cmake/cpm/find.cmake:92 (CPMFindPackage)
  cmake/thirdparty/get_raft.cmake:23 (rapids_cpm_find)
  cmake/thirdparty/get_raft.cmake:45 (find_and_configure_raft)
  CMakeLists.txt:187 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /opt/conda/envs/rapids/lib64/cmake/raft/raft-dependencies.cmake:27 (if):
  if given arguments:

    "TARGET" "("

  mismatched parenthesis in condition
Call Stack (most recent call first):
  /opt/conda/envs/rapids/lib64/cmake/raft/raft-config.cmake:72 (include)
  build/cmake/CPM_7644c3a40fc7889f8dee53ce21e85dc390b883dc.cmake:204 (find_package)
  build/cmake/CPM_7644c3a40fc7889f8dee53ce21e85dc390b883dc.cmake:255 (cpm_find_package)
  build/_deps/rapids-cmake-src/rapids-cmake/cpm/find.cmake:92 (CPMFindPackage)
  cmake/thirdparty/get_raft.cmake:23 (rapids_cpm_find)
  cmake/thirdparty/get_raft.cmake:45 (find_and_configure_raft)
  CMakeLists.txt:187 (include)


-- Configuring incomplete, errors occurred!
See also "/workspace/cpp/build/CMakeFiles/CMakeOutput.log".
See also "/workspace/cpp/build/CMakeFiles/CMakeError.log".

@ajschmidt8 ajschmidt8 added bug Something isn't working non-breaking Non-breaking change labels Jun 28, 2021
@trxcllnt trxcllnt closed this Jun 29, 2021
@trxcllnt trxcllnt deleted the fix/use-cuco-library-alias-only branch June 29, 2021 13:50
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 cpp non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants