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

[apsi] Add new port #18847

Merged
merged 5 commits into from
Jul 22, 2021
Merged

[apsi] Add new port #18847

merged 5 commits into from
Jul 22, 2021

Conversation

WeiDaiWD
Copy link
Contributor

@WeiDaiWD WeiDaiWD commented Jul 7, 2021

Describe the pull request

  • What does your PR fix?

    Added a new port: apsi.

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

    all static, No

  • Does your PR follow the maintainer guide?

    Yes

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

    Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@WeiDaiWD
Copy link
Contributor Author

WeiDaiWD commented Jul 7, 2021

Feature "hexl" requires x64. I don't know how to handle that in an upstream port, "apsi".

"apsi" only supports static build.

@NancyLi1013
Copy link
Contributor

Feature "hexl" requires x64. I don't know how to handle that in an upstream port, "apsi".

"apsi" only supports static build.

You can add platform for feature hexl in vcpkg.json and add unsupported message in portfile.cmake.

if("hexl" IN_LIST FEATURES)
    ....
endif()

@NancyLi1013 NancyLi1013 self-assigned this Jul 7, 2021
@NancyLi1013 NancyLi1013 added the category:new-port The issue is requesting a new library to be added; consider making a PR! label Jul 7, 2021
@NancyLi1013 NancyLi1013 changed the title Added a new port: apsi [apsi] Add new port Jul 7, 2021
@WeiDaiWD
Copy link
Contributor Author

WeiDaiWD commented Jul 7, 2021

Feature "hexl" requires x64. I don't know how to handle that in an upstream port, "apsi".
"apsi" only supports static build.

You can add platform for feature hexl in vcpkg.json and add unsupported message in portfile.cmake.

if("hexl" IN_LIST FEATURES)
    ....
endif()

Since "hexl" itself detects architecture and fails installation if not "x64", do I need to add this detection in ports/apsi/portfile.cmake?

@WeiDaiWD
Copy link
Contributor Author

WeiDaiWD commented Jul 7, 2021

That failure looks weird to me. Shall we rerun failed tests?

@NancyLi1013
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@WeiDaiWD
Copy link
Contributor Author

WeiDaiWD commented Jul 8, 2021

Cool! Let me know if more changes are needed. Thanks!

@NancyLi1013
Copy link
Contributor

LGTM, except for the feature hexl. Seems you only added other two features, hexl is not handled in portfile.cmake.

Just mentioned, have you tested the feature hexl? Since other features are default features, it's not necessary to test them again.

@NancyLi1013 NancyLi1013 added info:reviewed Pull Request changes follow basic guidelines and removed requires:author-response labels Jul 9, 2021
@NancyLi1013
Copy link
Contributor

LGTM now, thanks for adding this new port. @WeiDaiWD

@NancyLi1013
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@WeiDaiWD
Copy link
Contributor Author

Not meaning to push the process, I wonder if there is anything that I need to do. Thanks!

@NancyLi1013
Copy link
Contributor

Not meaning to push the process, I wonder if there is anything that I need to do. Thanks!

Just wait for the process to merge. Nothing else needs to be done on your sides now.

@vicroms vicroms merged commit f241ffc into microsoft:master Jul 22, 2021
@WeiDaiWD WeiDaiWD deleted the apsi branch September 15, 2021 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:new-port The issue is requesting a new library to be added; consider making a PR! info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants