Skip to content

[fbgemm] Modularize FBGEMM CMake Target Definitions, pt 1 #4509

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

Closed
wants to merge 9 commits into from

Conversation

q10
Copy link
Contributor

@q10 q10 commented Jul 16, 2025

  • Define cpp_library() CMake function and redefine existing FBGEMM targets using this function to simplify CMake configuration

Copy link

netlify bot commented Jul 16, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 07295b5
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/68793660040cfb0008b10a4d
😎 Deploy Preview https://deploy-preview-4509--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla bot added the cla signed label Jul 16, 2025
@q10 q10 force-pushed the bm/fbgemm-arm-build branch from 73b7aaa to 6f726b6 Compare July 17, 2025 07:21
CMakeLists.txt Outdated
SRCS
${FBGEMM_AVX512_SRCS}
${FBGEMM_AVX512_INLINE_SRCS}
INCLUDE_DIRS
Copy link
Contributor

@cyyever cyyever Jul 17, 2025

Choose a reason for hiding this comment

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

INCLUDE_DIRS are not required, because the target can link to the dependencies, and their include paths will be available to FBGEMM. Modern CMake targets shouldn't use include paths.

@q10 q10 changed the title [fbgemm] FBGEMM ARM CI [fbgemm] Modularize FBGEMM CMake Targets Jul 17, 2025
@q10 q10 changed the title [fbgemm] Modularize FBGEMM CMake Targets [fbgemm] Modularize FBGEMM CMake Target Definitions, pt 1 Jul 17, 2025
@facebook-github-bot
Copy link
Contributor

@q10 has imported this pull request. If you are a Meta employee, you can view this in D78502620.

@facebook-github-bot
Copy link
Contributor

@q10 merged this pull request in 2db0d53.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants