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

[pmdk] Fix linux compilation #33766

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

JonLiu1993
Copy link
Member

Fixes #15896
Pmdk compilation methods are compiled through sln files, so linux is not supported

  • 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.

@JonLiu1993 JonLiu1993 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 Sep 14, 2023
@JonLiu1993 JonLiu1993 marked this pull request as ready for review September 15, 2023 02:12
@jimwang118 jimwang118 added the info:reviewed Pull Request changes follow basic guidelines label Sep 15, 2023
@vicroms vicroms merged commit 36ff119 into microsoft:master Sep 18, 2023
15 checks passed
"description": "Persistent Memory Development Kit",
"homepage": "https://github.com/pmem/pmdk",
"license": "BSD-3-Clause",
"supports": "!(arm | x86)",
"supports": "!(linux | arm | x86)",
Copy link
Contributor

Choose a reason for hiding this comment

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

How does this "fix linux compilation"?

It is just another incomplete port. And note that "Support for Windows and FreeBSD has been deprecated since the PMDK 1.13.0 release and was removed in the PMDK 2.0 release.", https://pmem.io/pmdk/

Copy link
Member Author

@JonLiu1993 JonLiu1993 Sep 19, 2023

Choose a reason for hiding this comment

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

In fact, it does not fix pmdk compilation under linux, because the current pmdk compilation method in vcpkg is compiled through sln files. I added supports just to tell users that linux is not supported for the time being. The supports here are really not suitable for the latest version of pmdk 2.0.0. I will upgrade to the latest version 2.0.0 later.

Copy link
Contributor

Choose a reason for hiding this comment

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

And now we have a baseline regression:

REGRESSION: pmdk:x64-linux is marked as fail but not supported for x64-linux.

Copy link
Contributor

Choose a reason for hiding this comment

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

(Not to mention that msbuild doesn't support osx or android or ...)

Copy link
Member Author

Choose a reason for hiding this comment

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

Where did you see this REGRESSION?

REGRESSION: pmdk:x64-linux is marked as fail but not supported for x64-linux.

Copy link
Contributor

Choose a reason for hiding this comment

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

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.

[pmdk] build failure during installation
4 participants