Skip to content

[fbgemm] fix find_package#20111

Merged
BillyONeal merged 2 commits intomicrosoft:masterfrom
luncliff:port/fbgemm
Sep 14, 2021
Merged

[fbgemm] fix find_package#20111
BillyONeal merged 2 commits intomicrosoft:masterfrom
luncliff:port/fbgemm

Conversation

@luncliff
Copy link
Copy Markdown
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
Copy Markdown
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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Sep 13, 2021
@BillyONeal BillyONeal merged commit 0e44605 into microsoft:master Sep 14, 2021
@BillyONeal
Copy link
Copy Markdown
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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants