git: 6a352e2acd26 - main - misc/opennn: Update 4.0 -> 5.0.5
Yuri Victorovich
yuri at FreeBSD.org
Fri Apr 30 00:56:43 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6a352e2acd264aabe6ce7937f618b46bc74b78f0
commit 6a352e2acd264aabe6ce7937f618b46bc74b78f0
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-04-30 00:15:04 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-04-30 00:56:39 +0000
misc/opennn: Update 4.0 -> 5.0.5
---
misc/opennn/Makefile | 32 ++++++--------------------------
misc/opennn/distinfo | 6 +++---
misc/opennn/pkg-plist | 10 ++--------
3 files changed, 11 insertions(+), 37 deletions(-)
diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile
index 391fc35afab0..700135e51173 100644
--- a/misc/opennn/Makefile
+++ b/misc/opennn/Makefile
@@ -1,8 +1,7 @@
PORTNAME= opennn
-DISTVERSION= 4.0
+DISTVERSION= 5.0.5
CATEGORIES= misc # machine-learning
-MASTER_SITES= SF/${PORTNAME}/
-DISTNAME= ${PORTNAME}_${DISTVERSION}
+MASTER_SITES= https://github.com/Artelnics/opennn/archive/refs/tags/v${DISTVERSION}${EXTRACT_SUFX}?dummy=/
MAINTAINER= yuri at FreeBSD.org
COMMENT= Open neural networks library
@@ -15,35 +14,16 @@ DOS2UNIX_FILES= opennn/CMakeLists.txt
USE_LDCONFIG= yes
CMAKE_OFF= OpenNN_BUILD_EXAMPLES OpenNN_BUILD_TESTS
+LDFLAGS+= -lomp -pthread # https://github.com/Artelnics/opennn/issues/182
-OPTIONS_DEFINE= MPI OPENMP
-OPTIONS_DEFAULT= OPENMP
+OPTIONS_DEFINE= MPI
MPI_CMAKE_BOOL= __OPENNN_MPI__
-MPI_BROKEN= https://github.com/Artelnics/OpenNN/issues/86
-
-OPENMP_CMAKE_BOOL= __OPENNN_OMP__
-
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc
-USE_GCC= yes
-.else
-# workaround for breakage with clang-10: https://github.com/Artelnics/OpenNN/issues/105
-LLVM_VER= 80
-BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
-CPP= clang-cpp${LLVM_VER}
-CC= clang${LLVM_VER}
-CXX= clang++${LLVM_VER}
-# clang-8 defaults to elfv1 on FreeBSD, to be removed after moving to 9 or newer
-.if ${ARCH} == powerpc64
-CFLAGS+= -mabi=elfv2
-.endif
-.endif
+MPI_BROKEN= deactivated: https://github.com/Artelnics/OpenNN/issues/86
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} && ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${BUILD_WRKSRC}/${PORTNAME}/libopennn.so ${STAGEDIR}${PREFIX}/lib
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopennn.so
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/opennn/distinfo b/misc/opennn/distinfo
index 8c4104f956b2..b36a671d3129 100644
--- a/misc/opennn/distinfo
+++ b/misc/opennn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1590628765
-SHA256 (opennn_4.0.zip) = f0ade93fe24b88eea90aeee85f5c70066ed6c087a34240752178ecd68861f975
-SIZE (opennn_4.0.zip) = 6656578
+TIMESTAMP = 1619739429
+SHA256 (opennn-5.0.5.zip) = 9aafeb305793591077cbafda8adbd2ab24b85500915cfce711e5f0d54d5fcd69
+SIZE (opennn-5.0.5.zip) = 47522909
diff --git a/misc/opennn/pkg-plist b/misc/opennn/pkg-plist
index be7ee0b89bdd..4bf0692971eb 100644
--- a/misc/opennn/pkg-plist
+++ b/misc/opennn/pkg-plist
@@ -1,25 +1,22 @@
include/opennn/adaptive_moment_estimation.h
include/opennn/bounding_layer.h
+include/opennn/config.h
include/opennn/conjugate_gradient.h
include/opennn/convolutional_layer.h
include/opennn/correlations.h
include/opennn/cross_entropy_error.h
include/opennn/data_set.h
-include/opennn/functions.h
include/opennn/genetic_algorithm.h
include/opennn/gradient_descent.h
include/opennn/growing_inputs.h
-include/opennn/incremental_neurons.h
+include/opennn/growing_neurons.h
include/opennn/inputs_selection.h
-include/opennn/k_means.h
include/opennn/layer.h
include/opennn/learning_rate_algorithm.h
include/opennn/levenberg_marquardt_algorithm.h
include/opennn/long_short_term_memory_layer.h
include/opennn/loss_index.h
-include/opennn/matrix.h
include/opennn/mean_squared_error.h
-include/opennn/metrics.h
include/opennn/minkowski_error.h
include/opennn/model_selection.h
include/opennn/neural_network.h
@@ -41,13 +38,10 @@ include/opennn/scaling_layer.h
include/opennn/statistics.h
include/opennn/stochastic_gradient_descent.h
include/opennn/sum_squared_error.h
-include/opennn/tensor.h
include/opennn/testing_analysis.h
include/opennn/tinyxml2.h
include/opennn/training_strategy.h
-include/opennn/transformations.h
include/opennn/unit_testing.h
include/opennn/unscaling_layer.h
-include/opennn/vector.h
include/opennn/weighted_squared_error.h
lib/libopennn.so
More information about the dev-commits-ports-all
mailing list