diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile index 53724a28b276..cbf737ee5853 100644 --- a/misc/opennn/Makefile +++ b/misc/opennn/Makefile @@ -1,53 +1,55 @@ PORTNAME= opennn DISTVERSIONPREFIX= v -DISTVERSION= 8.0.0 +DISTVERSION= 8.0.1 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Open neural networks library WWW= https://www.opennn.net/ \ https://github.com/Artelnics/opennn LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv7= gcc13 fails: error: use of built-in trait '__remove_cvref(_InIter1)' in function signature, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278630 TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing dos2unix localbase:ldflags USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= Artelnics DOS2UNIX_FILES= opennn/CMakeLists.txt CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= OpenNN_BUILD_EXAMPLES OpenNN_BUILD_TESTS CMAKE_OFF+= OPENNN_WITH_CUDA CMAKE_TESTING_ON= OpenNN_BUILD_TESTS # some tests fail, see https://github.com/Artelnics/opennn/issues/229 CMAKE_TESTING_TARGET= CXXFLAGS_powerpc= -O1 CXXFLAGS_powerpc64= -mvsx LDFLAGS+= -pthread LDFLAGS_powerpc= -latomic .if !exists(/usr/include/omp.h) LDFLAGS+= -fopenmp USES+= compiler:gcc-c++11-lib .else LDFLAGS+= -lomp # https://github.com/Artelnics/opennn/issues/182 USES+= compiler:c++11-lang .endif 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 post-test: @cd ${TEST_WRKSRC} && ${BUILD_WRKSRC}/bin/run_tests +# tests as of 8.0.1: several tests fail, see https://github.com/Artelnics/opennn/issues/341 + .include diff --git a/misc/opennn/distinfo b/misc/opennn/distinfo index b310c8e83e07..316e20a2d9b7 100644 --- a/misc/opennn/distinfo +++ b/misc/opennn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1775624253 -SHA256 (Artelnics-opennn-v8.0.0_GH0.tar.gz) = 3f2326b4a85cc2c388baf00107a340ee91104ef5b8d7fa83b6add555e7d9ea90 -SIZE (Artelnics-opennn-v8.0.0_GH0.tar.gz) = 71452501 +TIMESTAMP = 1782967901 +SHA256 (Artelnics-opennn-v8.0.1_GH0.tar.gz) = 858a3cbfb598d95dd9ad8b7ff7a525ab97975934fb693beacb533d22064dd678 +SIZE (Artelnics-opennn-v8.0.1_GH0.tar.gz) = 76691606 diff --git a/misc/opennn/files/patch-opennn_pch.h b/misc/opennn/files/patch-opennn_pch.h deleted file mode 100644 index dc5d7f8488fe..000000000000 --- a/misc/opennn/files/patch-opennn_pch.h +++ /dev/null @@ -1,11 +0,0 @@ ---- opennn/pch.h.orig 2026-04-08 05:32:16 UTC -+++ opennn/pch.h -@@ -55,7 +55,7 @@ - #include "../eigen/unsupported/Eigen/CXX11/Tensor" - #include "../eigen/Eigen/src/Core/util/DisableStupidWarnings.h" - --#define OPENNN_CUDA // Comment this line to disable cuda files -+//#define OPENNN_CUDA // Comment this line to disable cuda files - - #ifdef OPENNN_CUDA - diff --git a/misc/opennn/pkg-plist b/misc/opennn/pkg-plist index f99796547d24..6fdf4a431b4d 100644 --- a/misc/opennn/pkg-plist +++ b/misc/opennn/pkg-plist @@ -1,56 +1,57 @@ include/opennn/adaptive_moment_estimation.h include/opennn/addition_layer.h include/opennn/bounding_layer.h include/opennn/convolutional_layer.h include/opennn/correlations.h include/opennn/cross_entropy_error.h include/opennn/cross_entropy_error_3d.h include/opennn/dataset.h include/opennn/dense_layer.h include/opennn/embedding_layer.h include/opennn/flatten_layer.h +include/opennn/formula_expression.h include/opennn/genetic_algorithm.h include/opennn/growing_inputs.h include/opennn/growing_neurons.h include/opennn/image_dataset.h include/opennn/image_utilities.h include/opennn/inputs_selection.h include/opennn/kmeans.h include/opennn/language_dataset.h include/opennn/layer.h include/opennn/levenberg_marquardt_algorithm.h include/opennn/loss.h include/opennn/mean_squared_error.h include/opennn/minkowski_error.h include/opennn/model_expression.h include/opennn/model_selection.h include/opennn/multihead_attention_layer.h include/opennn/neural_network.h include/opennn/neuron_selection.h include/opennn/normalization_layer_3d.h include/opennn/normalized_squared_error.h include/opennn/opennn.h include/opennn/optimizer.h include/opennn/pch.h include/opennn/pooling_layer.h include/opennn/pooling_layer_3d.h include/opennn/quasi_newton_method.h include/opennn/random_utilities.h include/opennn/recurrent_layer.h include/opennn/registry.h include/opennn/response_optimization.h include/opennn/scaling.h include/opennn/scaling_layer.h include/opennn/standard_networks.h include/opennn/statistics.h include/opennn/stochastic_gradient_descent.h include/opennn/string_utilities.h include/opennn/tensor_utilities.h include/opennn/testing_analysis.h include/opennn/time_series_dataset.h include/opennn/tinyxml2.h include/opennn/training_strategy.h include/opennn/unscaling_layer.h include/opennn/variable.h include/opennn/weighted_squared_error.h lib/libopennn.so