[openblas] adds gcc14 support patch (#39340)

Fixes #38739

Upstream Issue: https://github.com/OpenMathLib/OpenBLAS/issues/4668
This commit is contained in:
Julian Zimmermann 2024-06-18 00:49:45 +02:00 committed by GitHub
parent 40616a5e95
commit 67a300519e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,19 @@
Index: cmake/system.cmake
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/cmake/system.cmake b/cmake/system.cmake
--- a/cmake/system.cmake (revision ce3f668c992cb3cc80849d5c30ed637f5adbd5b2)
+++ b/cmake/system.cmake (date 1718638483744)
@@ -160,6 +160,10 @@
endif ()
endif ()
+if (${CMAKE_C_COMPILER_ID} STREQUAL "GNU")
+ set(CCOMMON_OPT "${CCOMMON_OPT} -Wno-error=incompatible-pointer-types")
+endif ()
+
include("${PROJECT_SOURCE_DIR}/cmake/prebuild.cmake")
if (DEFINED TARGET)
if (${TARGET} STREQUAL COOPERLAKE AND NOT NO_AVX512)

View File

@ -8,6 +8,7 @@ vcpkg_from_github(
uwp.patch
fix-redefinition-function.patch
install-tools.patch
gcc14.patch
)
find_program(GIT NAMES git git.cmd)

View File

@ -1,6 +1,7 @@
{
"name": "openblas",
"version": "0.3.27",
"port-version": 1,
"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

@ -6418,7 +6418,7 @@
},
"openblas": {
"baseline": "0.3.27",
"port-version": 0
"port-version": 1
},
"opencascade": {
"baseline": "7.8.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a11cdf69c9d9071c73f8d88458aa8b09c597d695",
"version": "0.3.27",
"port-version": 1
},
{
"git-tree": "653ab9ede4c3c8b556b5d1b8b7d98d6abab8ef9d",
"version": "0.3.27",