mirror of https://github.com/microsoft/vcpkg.git
[lapack-reference] Fix building lapack with cblas on mingw (#44584)
Co-authored-by: Mengna-Li <543250287@qq.com>
This commit is contained in:
parent
977db88a84
commit
e033aa9328
|
|
@ -466,7 +466,7 @@ if(BLAS_FOUND)
|
|||
"${BLAS_LIBRARIES}"
|
||||
)
|
||||
endif()
|
||||
if(NOT LAPACK_LIBRARIES AND NOT WIN32)
|
||||
if(NOT LAPACK_LIBRARIES)
|
||||
check_lapack_libraries(
|
||||
LAPACK_LIBRARIES
|
||||
LAPACK
|
||||
|
|
@ -479,6 +479,19 @@ if(BLAS_FOUND)
|
|||
"${BLAS_LIBRARIES}"
|
||||
)
|
||||
endif()
|
||||
if(NOT LAPACK_LIBRARIES)
|
||||
check_lapack_libraries(
|
||||
LAPACK_LIBRARIES
|
||||
LAPACK
|
||||
cheev
|
||||
""
|
||||
"lapack;m;gfortran;quadmath"
|
||||
""
|
||||
""
|
||||
""
|
||||
"${BLAS_LIBRARIES}"
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "LAPACK requires BLAS")
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "lapack-reference",
|
||||
"version": "3.11.0",
|
||||
"port-version": 6,
|
||||
"port-version": 7,
|
||||
"description": "LAPACK - Linear Algebra PACKage",
|
||||
"homepage": "https://netlib.org/lapack/",
|
||||
"license": "BSD-3-Clause-Open-MPI",
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
{
|
||||
"name": "vcpkg-gfortran",
|
||||
"platform": "windows"
|
||||
"platform": "windows & !mingw"
|
||||
}
|
||||
],
|
||||
"default-features": [
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
"features": [
|
||||
"noblas"
|
||||
],
|
||||
"platform": "!windows | !static"
|
||||
"platform": "!windows | !static | mingw"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4250,7 +4250,7 @@
|
|||
},
|
||||
"lapack-reference": {
|
||||
"baseline": "3.11.0",
|
||||
"port-version": 6
|
||||
"port-version": 7
|
||||
},
|
||||
"lastools": {
|
||||
"baseline": "2.0.3",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "03ec23ff643f6ac2f398923e46c0f68043ebf055",
|
||||
"version": "3.11.0",
|
||||
"port-version": 7
|
||||
},
|
||||
{
|
||||
"git-tree": "c6447c2a6f70504bfbf20f2e649bcc17a6ce67de",
|
||||
"version": "3.11.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue