aboutsummaryrefslogtreecommitdiff
path: root/ports/mlpack
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2020-08-28 16:31:27 -0700
committerBilly Robert O'Neal III <bion@microsoft.com>2020-08-28 16:31:27 -0700
commitc828f3634723996e6031fb2e3c3d1ac3f4de0cad (patch)
treeb3fe00a043d5b9351868a0d1f8aead41bb52d2be /ports/mlpack
parent6635a2fa596ca457565eebc2a45664309cd24d77 (diff)
parentf3f329a048eaff759c1992c458f2e12351486bc7 (diff)
downloadvcpkg-update-geos-381.tar.gz
vcpkg-update-geos-381.zip
Merge remote-tracking branch 'origin/master' into HEADupdate-geos-381
Diffstat (limited to 'ports/mlpack')
-rw-r--r--ports/mlpack/CONTROL4
-rw-r--r--ports/mlpack/portfile.cmake56
2 files changed, 51 insertions, 9 deletions
diff --git a/ports/mlpack/CONTROL b/ports/mlpack/CONTROL
index 252c66997..7d3debb83 100644
--- a/ports/mlpack/CONTROL
+++ b/ports/mlpack/CONTROL
@@ -1,9 +1,9 @@
Source: mlpack
Version: 3.2.2
-Port-Version: 5
+Port-Version: 6
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), lapack, boost, armadillo, ensmallen, stb
+Build-Depends: openblas, lapack, boost, armadillo, ensmallen, stb
Feature: tools
Description: Build command-line executables.
diff --git a/ports/mlpack/portfile.cmake b/ports/mlpack/portfile.cmake
index a7d73b2e3..11f6aa815 100644
--- a/ports/mlpack/portfile.cmake
+++ b/ports/mlpack/portfile.cmake
@@ -38,14 +38,56 @@ vcpkg_install_cmake()
vcpkg_copy_pdbs()
if("tools" IN_LIST FEATURES)
- file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools)
- file(GLOB MLPACK_TOOLS ${CURRENT_PACKAGES_DIR}/bin/*.exe)
- file(COPY ${MLPACK_TOOLS} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT})
- file(REMOVE ${MLPACK_TOOLS})
- file(GLOB MLPACK_TOOLS_DEBUG ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe)
- file(REMOVE ${MLPACK_TOOLS_DEBUG})
+ vcpkg_copy_tools(AUTO_CLEAN TOOL_NAMES
+ mlpack_adaboost
+ mlpack_approx_kfn
+ mlpack_cf
+ mlpack_dbscan
+ mlpack_decision_stump
+ mlpack_decision_tree
+ mlpack_det
+ mlpack_emst
+ mlpack_fastmks
+ mlpack_gmm_generate
+ mlpack_gmm_probability
+ mlpack_gmm_train
+ mlpack_hmm_generate
+ mlpack_hmm_loglik
+ mlpack_hmm_train
+ mlpack_hmm_viterbi
+ mlpack_hoeffding_tree
+ mlpack_kde
+ mlpack_kernel_pca
+ mlpack_kfn
+ mlpack_kmeans
+ mlpack_knn
+ mlpack_krann
+ mlpack_lars
+ mlpack_linear_regression
+ mlpack_linear_svm
+ mlpack_lmnn
+ mlpack_local_coordinate_coding
+ mlpack_logistic_regression
+ mlpack_lsh
+ mlpack_mean_shift
+ mlpack_nbc
+ mlpack_nca
+ mlpack_nmf
+ mlpack_pca
+ mlpack_perceptron
+ mlpack_preprocess_binarize
+ mlpack_preprocess_describe
+ mlpack_preprocess_imputer
+ mlpack_preprocess_scale
+ mlpack_preprocess_split
+ mlpack_radical
+ mlpack_random_forest
+ mlpack_range_search
+ mlpack_softmax_regression
+ mlpack_sparse_coding
+ )
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(INSTALL ${SOURCE_PATH}/COPYRIGHT.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/COPYRIGHT.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)