[openblas] update openblas to 0.3.28 (#40911)

Co-authored-by: NickelWenzel <55748692+NickelWenzel@users.noreply.github.com>
Co-authored-by: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com>
This commit is contained in:
Jaap Aarts 2024-10-18 07:23:47 +02:00 committed by GitHub
parent e99ecd9ffd
commit 6ebf8c123b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 23 additions and 5 deletions

View File

@ -1,14 +1,21 @@
vcpkg_download_distfile(ARM64_WINDOWS_UWP_PATCH
URLS "https://patch-diff.githubusercontent.com/raw/OpenMathLib/OpenBLAS/pull/4926.diff?full_index=1"
FILENAME "openblas-fix-arm64-windows-uwp.patch"
SHA512 808d375628499641f1134b4751c9861384b719dae14cf6bd4d9d4b09c9bfd9f8b13b2663e9fa9d09867b5b40817c26387ac659d2f6459d40a46455b2f540d018
)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO OpenMathLib/OpenBLAS
REF "v${VERSION}"
SHA512 4accc5282244946157b7940211181e011940154ff47855702c68f57a0af2fa5a306f49e47b8c22c02eeff61760c6c220465f05a316a33ee3265bfce65ca4cb84
SHA512 358301c8a60bedf920c07a110c772feb639e52412bd783789741fd2fd0686aac97e6b17ebcdf01ce48a2a15841058f82df0fee551af952f6e70b58140c055133
HEAD_REF develop
PATCHES
uwp.patch
fix-redefinition-function.patch
install-tools.patch
gcc14.patch
${ARM64_WINDOWS_UWP_PATCH}
)
find_program(GIT NAMES git git.cmd)
@ -61,6 +68,13 @@ if (VCPKG_TARGET_IS_WINDOWS AND VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
list(APPEND OPENBLAS_EXTRA_OPTIONS -DCORE=GENERIC)
endif()
# For emscripten only the riscv64 kernel with riscv64_generic target is supported
if(VCPKG_TARGET_IS_EMSCRIPTEN)
list(APPEND OPENBLAS_EXTRA_OPTIONS
-DEMSCRIPTEN_SYSTEM_PROCESSOR=riscv64
-DTARGET=RISCV64_GENERIC)
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
${conf_opts}

View File

@ -1,7 +1,6 @@
{
"name": "openblas",
"version": "0.3.27",
"port-version": 1,
"version": "0.3.28",
"description": "OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.",
"homepage": "https://github.com/OpenMathLib/OpenBLAS",
"license": "BSD-3-Clause",

View File

@ -6569,8 +6569,8 @@
"port-version": 2
},
"openblas": {
"baseline": "0.3.27",
"port-version": 1
"baseline": "0.3.28",
"port-version": 0
},
"opencascade": {
"baseline": "7.8.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0ea117557042e4d6a0ee7659828c44938e322ee3",
"version": "0.3.28",
"port-version": 0
},
{
"git-tree": "a11cdf69c9d9071c73f8d88458aa8b09c597d695",
"version": "0.3.27",