diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2020-03-17 05:51:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-16 14:51:46 -0700 |
| commit | f72c465aff62315d3854b7de040f3c31e53a242f (patch) | |
| tree | 69e22b36cb90a83a3f8a7ac050fa990d3a4892ef | |
| parent | 313d88c4df80e490f0ee0a7b5b2b7111c918104d (diff) | |
| download | vcpkg-f72c465aff62315d3854b7de040f3c31e53a242f.tar.gz vcpkg-f72c465aff62315d3854b7de040f3c31e53a242f.zip | |
[mlpack] Fix build tool error (#10409)
* [mlpack] Fix build tool error
* Remove tests from tool feature
| -rw-r--r-- | ports/mlpack/CONTROL | 4 | ||||
| -rw-r--r-- | ports/mlpack/portfile.cmake | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/ports/mlpack/CONTROL b/ports/mlpack/CONTROL index f7416c2cd..6d6a89702 100644 --- a/ports/mlpack/CONTROL +++ b/ports/mlpack/CONTROL @@ -1,8 +1,8 @@ Source: mlpack -Version: 3.2.2 +Version: 3.2.2-1 Homepage: https://github.com/mlpack/mlpack 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 Feature: tools -Description: Build command-line executables and tests. +Description: Build command-line executables. diff --git a/ports/mlpack/portfile.cmake b/ports/mlpack/portfile.cmake index 71d110b48..21149bcfa 100644 --- a/ports/mlpack/portfile.cmake +++ b/ports/mlpack/portfile.cmake @@ -20,15 +20,14 @@ file(REMOVE ${SOURCE_PATH}/CMake/ARMA_FindOpenBLAS.cmake) file(REMOVE ${SOURCE_PATH}/CMake/FindArmadillo.cmake) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS - tools BUILD_TOOLS + tools BUILD_CLI_EXECUTABLES ) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA OPTIONS - -DBUILD_TESTS=${BUILD_TOOLS} - -DBUILD_CLI_EXECUTABLES=${BUILD_TOOLS} + -DBUILD_TESTS=OFF ${FEATURE_OPTIONS} ) vcpkg_install_cmake() |
