Skip to content

Commit

Permalink
[openblas] adds gcc14 support patch (microsoft#39340)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulZimmermann authored Jun 17, 2024
1 parent 40616a5 commit 67a3005
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
19 changes: 19 additions & 0 deletions ports/openblas/gcc14.patch
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions ports/openblas/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions ports/openblas/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6418,7 +6418,7 @@
},
"openblas": {
"baseline": "0.3.27",
"port-version": 0
"port-version": 1
},
"opencascade": {
"baseline": "7.8.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openblas.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a11cdf69c9d9071c73f8d88458aa8b09c597d695",
"version": "0.3.27",
"port-version": 1
},
{
"git-tree": "653ab9ede4c3c8b556b5d1b8b7d98d6abab8ef9d",
"version": "0.3.27",
Expand Down

0 comments on commit 67a3005

Please sign in to comment.