Skip to content

Commit 54760c3

Browse files
authored
[lapack] Fix lapack for mingw (#48580)
1 parent 6a3c262 commit 54760c3

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

ports/lapack-reference/portfile.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ if(EXISTS "${pcfile}")
8787
file(WRITE "${pcfile}" "prefix=${CURRENT_INSTALLED_DIR}/debug\n${_contents}")
8888
endif()
8989

90-
if(NOT USE_OPTIMIZED_BLAS AND NOT (VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static"))
90+
if(NOT USE_OPTIMIZED_BLAS AND NOT (
91+
VCPKG_TARGET_IS_WINDOWS AND
92+
VCPKG_LIBRARY_LINKAGE STREQUAL "static" AND
93+
NOT VCPKG_TARGET_IS_MINGW ))
9194
set(pcfile "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/blas.pc")
9295
if(EXISTS "${pcfile}")
9396
file(READ "${pcfile}" _contents)

ports/lapack-reference/vcpkg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lapack-reference",
33
"version": "3.12.1",
4-
"port-version": 1,
4+
"port-version": 2,
55
"description": "LAPACK - Linear Algebra PACKage",
66
"homepage": "https://netlib.org/lapack/",
77
"license": "BSD-3-Clause-Open-MPI",
@@ -41,7 +41,7 @@
4141
},
4242
"noblas": {
4343
"description": "Use external optimized BLAS",
44-
"supports": "!windows | !static",
44+
"supports": "!windows | !static | mingw",
4545
"dependencies": [
4646
"blas"
4747
]

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4474,7 +4474,7 @@
44744474
},
44754475
"lapack-reference": {
44764476
"baseline": "3.12.1",
4477-
"port-version": 1
4477+
"port-version": 2
44784478
},
44794479
"lastools": {
44804480
"baseline": "2.0.4",

versions/l-/lapack-reference.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "f50927961bf58450be5c919b3f2e66584cd6585c",
5+
"version": "3.12.1",
6+
"port-version": 2
7+
},
38
{
49
"git-tree": "2cb3ab92f81e3a04378f80e0efb1c1fac10a6164",
510
"version": "3.12.1",

0 commit comments

Comments
 (0)