aboutsummaryrefslogtreecommitdiff
path: root/ports/mlpack
diff options
context:
space:
mode:
authorCurtis J Bezault <curtbezault@gmail.com>2019-07-19 08:08:08 -0700
committerGitHub <noreply@github.com>2019-07-19 08:08:08 -0700
commit18c849daea115310d7ee985e5af99ba96e6b79fe (patch)
treee8fdf76fe31cd299c84a1e16877aa217c9bab9d5 /ports/mlpack
parente81d22ddec6887a497055d4804a004ca662b4526 (diff)
parent618fa203c13c30bd19826988cff66481bca0562f (diff)
downloadvcpkg-18c849daea115310d7ee985e5af99ba96e6b79fe.tar.gz
vcpkg-18c849daea115310d7ee985e5af99ba96e6b79fe.zip
Merge branch 'master' into external_file_abi
Diffstat (limited to 'ports/mlpack')
-rw-r--r--ports/mlpack/CONTROL2
-rw-r--r--ports/mlpack/blas_lapack.patch13
-rw-r--r--ports/mlpack/portfile.cmake1
3 files changed, 15 insertions, 1 deletions
diff --git a/ports/mlpack/CONTROL b/ports/mlpack/CONTROL
index 0902ce894..e76327ca5 100644
--- a/ports/mlpack/CONTROL
+++ b/ports/mlpack/CONTROL
@@ -1,5 +1,5 @@
Source: mlpack
-Version: 3.1.1
+Version: 3.1.1-1
Description: mlpack is a fast, flexible machine learning library, written in C++, that aims to provide fast, extensible implementations of cutting-edge machine learning algorithms.
Build-Depends: openblas (!osx), clapack (!osx), boost, armadillo, ensmallen
diff --git a/ports/mlpack/blas_lapack.patch b/ports/mlpack/blas_lapack.patch
new file mode 100644
index 000000000..2b9e44597
--- /dev/null
+++ b/ports/mlpack/blas_lapack.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b158498..50f1def 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -286,7 +286,7 @@ if (WIN32)
+ find_package(LAPACK)
+ find_package(BLAS)
+ set(ARMADILLO_LIBRARIES
+- ${ARMADILLO_LIBRARIES} ${BLAS_LIBRARY} ${LAPACK_LIBRARY})
++ ${ARMADILLO_LIBRARIES} ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
+ endif ()
+
+ # Include directories for the previous dependencies.
diff --git a/ports/mlpack/portfile.cmake b/ports/mlpack/portfile.cmake
index 0a5bcb6d1..6bde064f4 100644
--- a/ports/mlpack/portfile.cmake
+++ b/ports/mlpack/portfile.cmake
@@ -8,6 +8,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
cmakelists.patch
+ blas_lapack.patch
)
file(REMOVE ${SOURCE_PATH}/CMake/ARMA_FindACML.cmake)