math/mlpack: Update 3.4.1 -> 3.4.2

This commit is contained in:
Yuri Victorovich 2021-04-24 21:05:39 -07:00
parent ae21290539
commit 8393f46d7f
4 changed files with 21 additions and 5 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= mlpack
DISTVERSION= 3.4.1
PORTREVISION= 1
DISTVERSION= 3.4.2
CATEGORIES= math # machine-learning
MASTER_SITES= https://mlpack.org/files/
@ -24,6 +23,8 @@ USE_LDCONFIG= yes
CMAKE_ARGS= -DSTB_IMAGE_INCLUDE_DIR=${LOCALBASE}/include/stb
CMAKE_OFF= BUILD_PYTHON_BINDINGS BUILD_TESTS
BINARY_ALIAS= git=false
OPTIONS_DEFINE= EXECUTABLES
OPTIONS_DEFAULT= EXECUTABLES
OPTIONS_SUB= yes

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1600479633
SHA256 (mlpack-3.4.1.tar.gz) = 05a20818477894b64726441fa98301a0334e36ded8c84380d2d0f800a961ad21
SIZE (mlpack-3.4.1.tar.gz) = 5782241
TIMESTAMP = 1619318150
SHA256 (mlpack-3.4.2.tar.gz) = 9e5c4af5c276c86a0dcc553289f6fe7b1b340d61c1e59844b53da0debedbb171
SIZE (mlpack-3.4.2.tar.gz) = 5782921

View file

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2021-04-25 03:10:15 UTC
+++ CMakeLists.txt
@@ -534,7 +534,7 @@ endif ()
# Determine whether or not this is a git repository, so that we can set the
# version number if necessary.
-find_package(Git)
+#find_package(Git)
set (USING_GIT "NO")
if (GIT_FOUND)
# Run 'git rev-parse HEAD' to find out if this is a working copy. If the

View file

@ -690,6 +690,8 @@ include/mlpack/methods/ann/layer/sequential.hpp
include/mlpack/methods/ann/layer/sequential_impl.hpp
include/mlpack/methods/ann/layer/softmax.hpp
include/mlpack/methods/ann/layer/softmax_impl.hpp
include/mlpack/methods/ann/layer/softmin.hpp
include/mlpack/methods/ann/layer/softmin_impl.hpp
include/mlpack/methods/ann/layer/softshrink.hpp
include/mlpack/methods/ann/layer/softshrink_impl.hpp
include/mlpack/methods/ann/layer/spatial_dropout.hpp
@ -726,6 +728,8 @@ include/mlpack/methods/ann/loss_functions/log_cosh_loss.hpp
include/mlpack/methods/ann/loss_functions/log_cosh_loss_impl.hpp
include/mlpack/methods/ann/loss_functions/margin_ranking_loss.hpp
include/mlpack/methods/ann/loss_functions/margin_ranking_loss_impl.hpp
include/mlpack/methods/ann/loss_functions/mean_absolute_percentage_error.hpp
include/mlpack/methods/ann/loss_functions/mean_absolute_percentage_error_impl.hpp
include/mlpack/methods/ann/loss_functions/mean_bias_error.hpp
include/mlpack/methods/ann/loss_functions/mean_bias_error_impl.hpp
include/mlpack/methods/ann/loss_functions/mean_squared_error.hpp