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/clapack | |
| 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/clapack')
| -rw-r--r-- | ports/clapack/CONTROL | 2 | ||||
| -rw-r--r-- | ports/clapack/portfile.cmake | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/clapack/CONTROL b/ports/clapack/CONTROL index bbabc6ad8..0dac11507 100644 --- a/ports/clapack/CONTROL +++ b/ports/clapack/CONTROL @@ -1,6 +1,6 @@ Source: clapack Version: 3.2.1 -Port-Version: 14 +Port-Version: 15 Homepage: https://www.netlib.org/clapack Description: CLAPACK (f2c'ed version of LAPACK) Build-Depends: openblas (!osx) diff --git a/ports/clapack/portfile.cmake b/ports/clapack/portfile.cmake index 8fdbe7c42..034c0991b 100644 --- a/ports/clapack/portfile.cmake +++ b/ports/clapack/portfile.cmake @@ -1,3 +1,7 @@ +if(EXISTS "${CURRENT_INSTALLED_DIR}/share/lapack-reference/copyright") + message(FATAL_ERROR "Can't build ${PORT} if lapack-reference is installed. Please remove lapack-reference:${TARGET_TRIPLET}, and try to install ${PORT}:${TARGET_TRIPLET} again.") +endif() + vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_download_distfile(ARCHIVE |
