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

[FIX] Link to cuco and add faiss EXCLUDE_FROM_ALL option #583

Merged
merged 5 commits into from
Mar 23, 2022

Conversation

trxcllnt
Copy link
Collaborator

@trxcllnt trxcllnt commented Mar 22, 2022

This PR includes a few fixes to support source-only builds:

  1. Defines linkage to cuco::cuco if the RAFT_ENABLE_cuco_DEPENDENCY variable is set, not if cuco_ADDED is true
  2. Adds a flag to control the EXCLUDE_FROM_ALL for the faiss dependency. This flag can be off for conda builds, but true for C++-only source builds
  3. Writes version_config.hpp header and fixes a potential GoogleBench issue

@trxcllnt trxcllnt requested a review from a team as a code owner March 22, 2022 23:23
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cjnolet
Copy link
Member

cjnolet commented Mar 23, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit ab57c1f into rapidsai:branch-22.04 Mar 23, 2022
rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Mar 25, 2022
Depends on rapidsai/raft#583 and rapidsai/cumlprims_mg#86

This PR includes a few fixes to support source-only builds:

1. Use `CPMFindPackage` to get `cumlprims_mg`
  a. This enables building against a local `cumlprims_mg` build (`-D cumlprims_mg_ROOT=/cumlprims_mg/cpp/build`)
2. Explicitly call `find_package(Threads)` to be more resilient to RAFT changes

Authors:
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Robert Maynard (https://github.com/robertmaynard)

URL: #4649
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Mar 27, 2022
Depends on rapidsai/raft#583 and rapidsai/cugraph-ops#70

This PR uses `CPMFindPackage` to find (or build) `cugraph-ops`.

This enables building from source against a local `cugraph-ops` build via `-D cugraph-ops_ROOT=/cugraph-ops/build`.

Authors:
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Rick Ratzel (https://github.com/rlratzel)

URL: #2148
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
Depends on rapidsai/raft#583 and rapidsai/cumlprims_mg#86

This PR includes a few fixes to support source-only builds:

1. Use `CPMFindPackage` to get `cumlprims_mg`
  a. This enables building against a local `cumlprims_mg` build (`-D cumlprims_mg_ROOT=/cumlprims_mg/cpp/build`)
2. Explicitly call `find_package(Threads)` to be more resilient to RAFT changes

Authors:
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Robert Maynard (https://github.com/robertmaynard)

URL: rapidsai#4649
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants