Skip to content

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

Merged
rapids-bot[bot] merged 3 commits into
NVIDIA: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 into
NVIDIA:branch-21.08from
trxcllnt:fix/faiss-alias

Conversation

@trxcllnt

@trxcllnt trxcllnt commented Jul 7, 2021

Copy link
Copy Markdown
Member

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:
NVIDIA/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

@cjnolet cjnolet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@trxcllnt

trxcllnt commented Jul 8, 2021

Copy link
Copy Markdown
Member Author

rerun tests

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

trxcllnt commented Jul 9, 2021

Copy link
Copy Markdown
Member Author

rerun tests

@dantegd

dantegd commented Jul 9, 2021

Copy link
Copy Markdown
Contributor

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit 22a16dd into NVIDIA: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:
NVIDIA/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: NVIDIA#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