diff options
| author | Stefano Sinigardi <stesinigardi@hotmail.com> | 2020-11-18 22:55:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 13:55:25 -0800 |
| commit | 3e2120fe2b46d903628224bc2f0c229d99521b78 (patch) | |
| tree | 30dbb848ee1474e9cd211c4217239d8427ef7b65 /ports/blas | |
| parent | 3217e2559619d0a6b1d2a78e2a944f2aba84e8ce (diff) | |
| download | vcpkg-3e2120fe2b46d903628224bc2f0c229d99521b78.tar.gz vcpkg-3e2120fe2b46d903628224bc2f0c229d99521b78.zip | |
[BLAS] add metaport (#13448)
* [BLAS] add metaport
* [openblas] enable also on macOS to allow lapack-reference previous setup
* [clapack] bump port version
* [blas, lapack] Remove incorrect comments about "outside vcpkg"
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/blas')
| -rw-r--r-- | ports/blas/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/blas/CONTROL | 4 | ||||
| -rw-r--r-- | ports/blas/portfile.cmake | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/ports/blas/CMakeLists.txt b/ports/blas/CMakeLists.txt new file mode 100644 index 000000000..790f79e8b --- /dev/null +++ b/ports/blas/CMakeLists.txt @@ -0,0 +1,4 @@ +cmake_minimum_required(VERSION 3.17)
+
+project(Find_BLAS_external)
+find_package(BLAS REQUIRED)
diff --git a/ports/blas/CONTROL b/ports/blas/CONTROL new file mode 100644 index 000000000..6f660d228 --- /dev/null +++ b/ports/blas/CONTROL @@ -0,0 +1,4 @@ +Source: blas
+Version: 1
+Description: Metapackage for packages which provide BLAS
+Build-Depends: openblas
diff --git a/ports/blas/portfile.cmake b/ports/blas/portfile.cmake new file mode 100644 index 000000000..f70aa46ea --- /dev/null +++ b/ports/blas/portfile.cmake @@ -0,0 +1,5 @@ +SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+
+# Make sure BLAS can be found
+vcpkg_configure_cmake(SOURCE_PATH ${CURRENT_PORT_DIR}
+ OPTIONS -DCMAKE_PREFIX_PATH="${CURRENT_PACKAGES_DIR}")
|
