diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile index 391fc35afab0..700135e51173 100644 --- a/misc/opennn/Makefile +++ b/misc/opennn/Makefile @@ -1,49 +1,29 @@ 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@FreeBSD.org COMMENT= Open neural networks library LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake compiler dos2unix zip 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 - -.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 +.include 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,53 +1,47 @@ 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 include/opennn/neurons_selection.h include/opennn/normalized_squared_error.h include/opennn/numerical_differentiation.h include/opennn/opennn.h include/opennn/opennn_strings.h include/opennn/optimization_algorithm.h include/opennn/perceptron_layer.h include/opennn/pooling_layer.h include/opennn/principal_components_layer.h include/opennn/probabilistic_layer.h include/opennn/pruning_inputs.h include/opennn/quasi_newton_method.h include/opennn/recurrent_layer.h include/opennn/response_optimization.h 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