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

[folly] Add feature liburing #29684

Merged
merged 5 commits into from
Feb 21, 2023

Conversation

LilyWangLL
Copy link
Contributor

Fixes #29523, feature folly[liburing] test pass on Linux.

  • Changes comply with the maintainer guide
  • SHA512s are updated for each updated download
  • The "supports" clause reflects platforms that may be fixed by this new version
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@LilyWangLL LilyWangLL added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:internal This PR or Issue was filed by the vcpkg team. labels Feb 16, 2023
github-actions[bot]
github-actions bot previously approved these changes Feb 16, 2023
@Cheney-W Cheney-W marked this pull request as ready for review February 16, 2023 09:47
Cheney-W
Cheney-W previously approved these changes Feb 16, 2023
@Cheney-W Cheney-W added the info:reviewed Pull Request changes follow basic guidelines label Feb 16, 2023
@@ -41,6 +41,7 @@ endif()
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
"zlib" CMAKE_REQUIRE_FIND_PACKAGE_ZLIB
"liburing" WITH_liburing
Copy link
Member

Choose a reason for hiding this comment

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

I think you also need to patch the __has_includes in here to respect the feature: https://github.com/facebook/folly/search?q=LibUring

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This doesn't need to handle, __has_include will auto check whether liburing.h exists, if it exists, compile the following codes, if it does not exist, it will not compile, and no error will be reported.

ports/folly/vcpkg.json Outdated Show resolved Hide resolved
@JavierMatosD JavierMatosD added requires:author-response and removed info:reviewed Pull Request changes follow basic guidelines labels Feb 16, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for folly have changed but the version was not updated
version: 2022.10.31.00#4
old SHA: b9c34e53bf193893333116c71ff3e2e0f4d24654
new SHA: 9f031566a728d2a7adf76c1026324cfc993b02a6
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

@Cheney-W Cheney-W added the info:reviewed Pull Request changes follow basic guidelines label Feb 20, 2023
@JavierMatosD JavierMatosD merged commit 5ea703d into microsoft:master Feb 21, 2023
@LilyWangLL LilyWangLL deleted the dev/LilyWang/issue29523 branch March 2, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

how to use folly with liburing dependency while in manifest mode ?
4 participants