diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2020-09-01 08:12:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-31 17:12:01 -0700 |
| commit | 913c7f91cef7f0688a59b51e3ada8b191458e2a5 (patch) | |
| tree | a79b6aa1c2095473a74cd160d9ea81e0d940e86f /ports/lapack-reference | |
| parent | f13b6b1354213f02a347d6fc4630492ab3ae00f5 (diff) | |
| download | vcpkg-913c7f91cef7f0688a59b51e3ada8b191458e2a5.tar.gz vcpkg-913c7f91cef7f0688a59b51e3ada8b191458e2a5.zip | |
[clapack, lapack-reference] Add conflict messages (#13200)
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/lapack-reference')
| -rw-r--r-- | ports/lapack-reference/CONTROL | 2 | ||||
| -rw-r--r-- | ports/lapack-reference/portfile.cmake | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/lapack-reference/CONTROL b/ports/lapack-reference/CONTROL index 0ac1c8d0e..5bb5ca6f5 100644 --- a/ports/lapack-reference/CONTROL +++ b/ports/lapack-reference/CONTROL @@ -1,6 +1,6 @@ Source: lapack-reference
Version: 3.8.0
-Port-Version: 1
+Port-Version: 2
Description: LAPACK — Linear Algebra PACKage http://www.netlib.org/lapack/
Default-Features: blas-select
Build-Depends: vcpkg-gfortran (windows)
diff --git a/ports/lapack-reference/portfile.cmake b/ports/lapack-reference/portfile.cmake index 6a3ad6982..39159abf7 100644 --- a/ports/lapack-reference/portfile.cmake +++ b/ports/lapack-reference/portfile.cmake @@ -4,6 +4,10 @@ # USE_OPTIMIZED_LAPACK (Probably not what we want. Does a find_package(LAPACK): probably for LAPACKE only builds _> own port?)
# LAPACKE Builds LAPACKE
# LAPACKE_WITH_TMG Build LAPACKE with tmglib routines
+if(EXISTS "${CURRENT_INSTALLED_DIR}/share/clapack/copyright")
+ message(FATAL_ERROR "Can't build ${PORT} if clapack is installed. Please remove clapack:${TARGET_TRIPLET}, and try to install ${PORT}:${TARGET_TRIPLET} again.")
+endif()
+
include(vcpkg_find_fortran)
SET(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
