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

[fbgemm] fix find_package #20111

Merged
merged 2 commits into from
Sep 14, 2021
Merged

[fbgemm] fix find_package #20111

merged 2 commits into from
Sep 14, 2021

Conversation

luncliff
Copy link
Contributor

@luncliff luncliff commented Sep 11, 2021

What does your PR fix?

Update portfile to use vcpkg-cmake, vcpkg-cmake-config

Install some private headers

The file was required for #17199

find_package

Make CMake find_package work correctly.

find_package(fbgemmLibrary CONFIG)

Support GPU feature

The project contains sources that use CUDA. Trying to build/install it.

Which triplets are supported/not supported? Have you updated the CI baseline?

All supported triplets

Does your PR follow the maintainer guide?

Yes.

* install internal header for pytorch
@luncliff luncliff changed the title [fbgemm] fix find_package [fbgemm] fix find_package and support GPU feature Sep 11, 2021
@luncliff luncliff marked this pull request as draft September 11, 2021 15:48
@luncliff luncliff mentioned this pull request Sep 11, 2021
19 tasks
@luncliff
Copy link
Contributor Author

So... fbgemm_gpu requires ATen which is in PyTorch sources...
https://github.com/pytorch/FBGEMM/blob/main/fbgemm_gpu/src/cumem_utils.cu

Dropping GPU feature for this PR. It's too complicated for me :(

* The source requires ATen and some other libraries ...
@luncliff luncliff changed the title [fbgemm] fix find_package and support GPU feature [fbgemm] fix find_package Sep 12, 2021
@luncliff luncliff marked this pull request as ready for review September 12, 2021 14:02
@JonLiu1993 JonLiu1993 assigned JonLiu1993 and JackBoosY and unassigned JonLiu1993 Sep 13, 2021
@JackBoosY JackBoosY added the category:port-bug The issue is with a library, which is something the port should already support label Sep 13, 2021
@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label Sep 13, 2021
@BillyONeal BillyONeal merged commit 0e44605 into microsoft:master Sep 14, 2021
@BillyONeal
Copy link
Member

Thanks for the fix!

@luncliff luncliff deleted the port/fbgemm branch September 14, 2021 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants