зеркало из https://github.com/microsoft/vcpkg.git
[libjpeg-turbo] Disable simd/asm on Wasm (#33951)
* Disable SIMD on WASM, bump verion * Run `vcpkg x-add-version libjpeg-turbo`
This commit is contained in:
Родитель
dc7ec34c13
Коммит
4d07057b32
|
@ -14,7 +14,9 @@ vcpkg_from_github(
|
|||
workaround_cmake_system_processor.patch
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR (VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore"))
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "wasm32")
|
||||
set(LIBJPEGTURBO_SIMD -DWITH_SIMD=OFF)
|
||||
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR (VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore"))
|
||||
set(LIBJPEGTURBO_SIMD -DWITH_SIMD=ON -DNEON_INTRINSICS=ON)
|
||||
else()
|
||||
set(LIBJPEGTURBO_SIMD -DWITH_SIMD=ON)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "libjpeg-turbo",
|
||||
"version": "3.0.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems.",
|
||||
"homepage": "https://github.com/libjpeg-turbo/libjpeg-turbo",
|
||||
"license": "BSD-3-Clause",
|
||||
|
|
|
@ -4302,7 +4302,7 @@
|
|||
},
|
||||
"libjpeg-turbo": {
|
||||
"baseline": "3.0.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"libjuice": {
|
||||
"baseline": "1.0.6",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4510832adaa3f5f415a59d26f5520ca250a8ff77",
|
||||
"version": "3.0.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "91d431c26902a8c0b21e7956caa136093b7d7d6b",
|
||||
"version": "3.0.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче