[cpu-features] Fixed and updated cpu-features.#18101
[cpu-features] Fixed and updated cpu-features.#18101strega-nil-ms merged 3 commits intomicrosoft:masterfrom
Conversation
|
Is this a failure caused by pipeline or code change? |
Can you merge master to this PR? It seems that you didn't use the latest commit. |
Done. |
|
My mistakes. I forgot to add dependencies to |
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
|
Is this caused by changes to |
|
The problem caused by |
|
Is this PR ready to be merged? |
|
Have you tested the feature? @WeiDaiWD |
|
I've just tested |
|
LGTM now, thanks for your fixing @WeiDaiWD |
|
Awesome, thanks @WeiDaiWD! |
Describe the pull request
Updated
cpu-featuresto version 0.6.0. Removed the executable targetlist_cpu_featureswhen featuretoolsis not specified.What does your PR fix?
Port
cpu-featuresis broken. Iftoolsis not specified, callingfind_package(CpuFeatures ...)fails, because an executable target is exported but deleted. This PR make the executable target optionally, via a patch.This is required to fix [hexl] Add new port #18043 .
Which triplets are supported/not supported? Have you updated the CI baseline?
!(arm | uwp)Yes.
Does your PR follow the maintainer guide?
Yes.
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?Yes.