Skip to content

[FIX] Always add faiss library alias if it's missing#287

Merged
rapids-bot[bot] merged 3 commits intorapidsai:branch-21.08from
trxcllnt:fix/faiss-alias
Jul 9, 2021
Merged

[FIX] Always add faiss library alias if it's missing#287
rapids-bot[bot] merged 3 commits intorapidsai:branch-21.08from
trxcllnt:fix/faiss-alias

Conversation

@trxcllnt
Copy link
Collaborator

@trxcllnt trxcllnt commented Jul 7, 2021

Always add the FAISS::FAISS library target alias if it doesn't exist. This can happen if cuML is built and installs FAISS before cuGraph or vice-versa.

Related PRs:
rapidsai/cuml#4028
rapidsai/cugraph#1694

Note: We can probably remove the get_faiss.cmake file in cuML and cuGraph since they both should get it from RAFT.

@cjnolet cjnolet added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jul 7, 2021
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

@trxcllnt
Copy link
Collaborator Author

trxcllnt commented Jul 8, 2021

rerun tests

@trxcllnt trxcllnt requested review from a team as code owners July 9, 2021 01:27
@trxcllnt
Copy link
Collaborator Author

trxcllnt commented Jul 9, 2021

rerun tests

@dantegd
Copy link
Member

dantegd commented Jul 9, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 22a16dd into rapidsai:branch-21.08 Jul 9, 2021
loulankxh pushed a commit to loulankxh/raft that referenced this pull request Oct 14, 2025
Always add the `FAISS::FAISS` library target alias if it doesn't exist. This can happen if cuML is built and installs FAISS before cuGraph or vice-versa.

Related PRs:
rapidsai/cuml#4028
rapidsai/cugraph#1694

Note: We can probably remove the `get_faiss.cmake` file in cuML and cuGraph since they both should get it from RAFT.

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

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#287
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.

3 participants