[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>
This commit is contained in:
Stefano Sinigardi 2020-11-18 22:55:25 +01:00 committed by GitHub
parent 3217e25596
commit 3e2120fe2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 28 additions and 14 deletions

View File

@ -2,4 +2,4 @@ Source: armadillo
Version: 10.1.0
Homepage: https://gitlab.com/conradsnicta/armadillo-code
Description: Armadillo is a high quality linear algebra library (matrix maths) for the C++ language, aiming towards a good balance between speed and ease of use
Build-Depends: openblas, lapack
Build-Depends: blas, lapack

View File

@ -0,0 +1,4 @@
cmake_minimum_required(VERSION 3.17)
project(Find_BLAS_external)
find_package(BLAS REQUIRED)

4
ports/blas/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: blas
Version: 1
Description: Metapackage for packages which provide BLAS
Build-Depends: openblas

View File

@ -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}")

View File

@ -1,6 +1,6 @@
Source: clapack
Version: 3.2.1
Port-Version: 15
Port-Version: 16
Homepage: https://www.netlib.org/clapack
Description: CLAPACK (f2c'ed version of LAPACK)
Build-Depends: openblas (!osx)
Build-Depends: blas

View File

@ -1,7 +1,7 @@
Source: dlib
Version: 19.21
Port-Version: 4
Build-Depends: libjpeg-turbo, libpng, openblas, lapack
Build-Depends: libjpeg-turbo, libpng, blas, lapack
Homepage: https://github.com/davisking/dlib
Description: Modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++
Default-Features: fftw3, sqlite3

View File

@ -2,4 +2,4 @@ Source: ensmallen
Version: 2.14.2
Homepage: https://github.com/mlpack/ensmallen
Description: A header-only C++ library for mathematical optimization.
Build-Depends: openblas, lapack, armadillo
Build-Depends: blas, lapack, armadillo

View File

@ -3,7 +3,7 @@ Version: 1.7.5
Port-Version: 2
Homepage: https://gforge.inria.fr/projects/geogram/
Description: Geogram is a programming library of geometric algorithms.
Build-Depends: openblas, lapack
Build-Depends: blas, lapack
Supports: !uwp
Feature: graphics

View File

@ -61,3 +61,4 @@ Build-Depends: llvm[core,target-riscv]
Feature: target-x86
Description: Include X86 target
Build-Depends: llvm[core,target-x86]

View File

@ -2,4 +2,4 @@ Source: hypre
Version: 2.19.0
Homepage: https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods
Description: SCALABLE LINEAR SOLVERS AND MULTIGRID METHODS
Build-Depends: mpi, openblas, lapack
Build-Depends: mpi, blas, lapack

View File

@ -9,7 +9,7 @@ Feature: cblas
Description: Builds CBLAS
Feature: noblas
Build-Depends: openblas
Build-Depends: blas
Description: Use external optimized BLAS
Feature: blas-select

View File

@ -2,4 +2,3 @@ cmake_minimum_required(VERSION 3.17)
project(Find_LAPACK_external)
find_package(LAPACK REQUIRED)
#TODO make sure that the found LAPACK is outside VCPKG

View File

@ -1,4 +1,5 @@
Source: lapack
Version: 3
Port-Version: 1
Description: Metapackage for packages which provide LAPACK
Build-Depends: clapack(arm&windows), lapack-reference(!arm|!windows)

View File

@ -1,6 +1,6 @@
Source: shogun
Version: 6.1.4
Port-Version: 3
Build-Depends: bzip2, eigen3, liblzma, libxml2, openblas, nlopt, rxcpp, snappy, zlib, protobuf, curl, lzo, dirent
Port-Version: 4
Build-Depends: bzip2, eigen3, liblzma, libxml2, blas, nlopt, rxcpp, snappy, zlib, protobuf, curl, lzo, dirent
Homepage: https://github.com/shogun-toolbox/shogun
Description: Unified and efficient Machine Learning
Description: Unified and efficient Machine Learning

View File

@ -1,7 +1,7 @@
Source: superlu
Version: 2020-01-07
Port-Version: 2
Build-Depends: openblas
Build-Depends: blas
Description: Supernodal sparse direct solver.
Homepage: https://github.com/xiaoyeli/superlu
Supports: !(uwp|arm)
Supports: !(uwp|arm)