Skip to content

Conversation

@JackBoosY
Copy link
Contributor

@JackBoosY JackBoosY commented Jan 28, 2022

Disable building cpufeatures as it is the same as provided by libwebp.
They are use the same source (in Android NDK),

Upstream issue: opencv/opencv#9155 but it didn't completely fix it.

Fixes #19106.

@JackBoosY JackBoosY added info:internal category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. labels Jan 28, 2022
@JackBoosY
Copy link
Contributor Author

cc @cenit.

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.

You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/opencv4/vcpkg.json

Valid values for the license field are listed at https://spdx.org/licenses/

@cenit
Copy link
Contributor

cenit commented Jan 28, 2022

it is necessary also on opencv 3 i suppose

@JackBoosY
Copy link
Contributor Author

it is necessary also on opencv 3 i suppose

I'm thinking if the upstream opencv doesn't fix this, should we fix it completely on the vcpkg side: export the target cpufeatures in libwebp and add the related option in opencv to use it.

@strega-nil-ms strega-nil-ms added requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. and removed requires:discussion labels Feb 4, 2022
@strega-nil-ms
Copy link
Contributor

Actually, this is just correct; we also need to rip cpufeatures out of libwebp, and ship cpufeatures as its own library, imo. Until we do that tho, this is strictly better, imo. Thanks!

@strega-nil-ms strega-nil-ms merged commit ce7ee5a into microsoft:master Feb 4, 2022
@strega-nil-ms strega-nil-ms removed the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Feb 4, 2022
@JackBoosY JackBoosY deleted the dev/jack/9155 branch February 5, 2022 07:36
ekilmer added a commit to ekilmer/vcpkg that referenced this pull request Feb 5, 2022
* master: (221 commits)
  [vcpkg-tool] update to 2022-02-03 (microsoft#22924)
  [opencv4] Disable building cpufeatures since it conflict with libwebp (microsoft#22844)
  [rhasheq] New port (microsoft#22905)
  [sfml] Add arm64 patch to allow SFML to compile on apple silicon (microsoft#22937)
  [popsift] Fix missing Thrust include, already merged upstream. (microsoft#22929)
  [python3][python2] Use MKDIR_P to create directories to avoid race conditions (microsoft#22902)
  Added libe57format port (microsoft#22909)
  update polyhook2 (microsoft#22906)
  [botan] Fix debug info (microsoft#22911)
  [opentelemetry-cpp] update version to v1.2.0 (microsoft#22925)
  [docs] document VCPKG_INSTALLED_DIR variable (microsoft#22695)
  [c89stringutils] New port (microsoft#22904)
  [randomstr] New port (microsoft#22921)
  [docs] Add Authoring-script-ports.md (microsoft#22396)
  [vcpkg_fail_port_install] Deprecate function (microsoft#21489)
  [vcpkg-cmake-config] add missing TOOLS_PATH (microsoft#22863)
  Ace Build Windows - Missing files in include package (microsoft#22880)
  [opendnp3] Disable FetchContent in favor of predownloading (microsoft#22894)
  libraqm update to 0.9.0 (microsoft#22907)
  [google-cloud-cpp] update to latest release (v1.36.0) (microsoft#22897)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opencv4 error: The following files are already installed

4 participants