Skip to content

Commit

Permalink
[aom] Enable arm, arm64 target support for Windows Desktop. (microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto authored Jan 7, 2023
1 parent 94e85d1 commit 3512f26
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ports/aom/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ vcpkg_from_git(
)

set(aom_target_cpu "")
if(VCPKG_TARGET_IS_UWP)
if(VCPKG_TARGET_IS_UWP OR (VCPKG_TARGET_IS_WINDOWS AND VCPKG_TARGET_ARCHITECTURE MATCHES "^arm"))
# UWP + aom's assembler files result in weirdness and build failures
# Also, disable assembly on ARM and ARM64 Windows to fix compilation issues.
set(aom_target_cpu "-DAOM_TARGET_CPU=generic")
endif()

Expand Down
2 changes: 1 addition & 1 deletion ports/aom/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "aom",
"version-semver": "3.5.0",
"port-version": 1,
"description": "AV1 codec library",
"homepage": "https://aomedia.googlesource.com/aom",
"license": "BSD-2-Clause",
"supports": "!(windows & arm & !uwp)",
"dependencies": [
{
"name": "vcpkg-cmake",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/aom.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "daaa6d5ccf417cb9e4997d35b9574f18eaa98cd3",
"version-semver": "3.5.0",
"port-version": 1
},
{
"git-tree": "c6e0216430b4aded29b420b2d9e4b14ef6271620",
"version-semver": "3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
"aom": {
"baseline": "3.5.0",
"port-version": 0
"port-version": 1
},
"approval-tests-cpp": {
"baseline": "10.12.2",
Expand Down

0 comments on commit 3512f26

Please sign in to comment.