From owner-svn-ports-all@freebsd.org Fri Nov 29 01:58:08 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DE371BF85C; Fri, 29 Nov 2019 01:58:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47PHhv6b3sz4LTN; Fri, 29 Nov 2019 01:58:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C0B126FA9; Fri, 29 Nov 2019 01:58:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAT1w7fN058493; Fri, 29 Nov 2019 01:58:07 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAT1w6t2058486; Fri, 29 Nov 2019 01:58:06 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201911290158.xAT1w6t2058486@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 29 Nov 2019 01:58:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518618 - in head/misc: . opennn opennn/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc: . opennn opennn/files X-SVN-Commit-Revision: 518618 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 01:58:08 -0000 Author: yuri Date: Fri Nov 29 01:58:05 2019 New Revision: 518618 URL: https://svnweb.freebsd.org/changeset/ports/518618 Log: New port: misc/opennn: Open neural networks library Added: head/misc/opennn/ head/misc/opennn/Makefile (contents, props changed) head/misc/opennn/distinfo (contents, props changed) head/misc/opennn/files/ head/misc/opennn/files/patch-CMakeLists.txt (contents, props changed) head/misc/opennn/files/patch-opennn_CMakeLists.txt (contents, props changed) head/misc/opennn/pkg-descr (contents, props changed) head/misc/opennn/pkg-plist (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Fri Nov 29 01:44:09 2019 (r518617) +++ head/misc/Makefile Fri Nov 29 01:58:05 2019 (r518618) @@ -270,6 +270,7 @@ SUBDIR += openhantek SUBDIR += openhmd SUBDIR += openmvg + SUBDIR += opennn SUBDIR += openr2 SUBDIR += openvdb SUBDIR += orange3 Added: head/misc/opennn/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/opennn/Makefile Fri Nov 29 01:58:05 2019 (r518618) @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= opennn +DISTVERSION= 0.1-86 +DISTVERSIONSUFFIX= -g449b346 +CATEGORIES= misc # machine-learning + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Open neural networks library + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= cmake compiler:c++11-lang dos2unix +DOS2UNIX_FILES= CMakeLists.txt +USE_GITHUB= yes +GH_ACCOUNT= Artelnics +GH_PROJECT= OpenNN +USE_LDCONFIG= yes + +CMAKE_OFF= OpenNN_BUILD_EXAMPLES OpenNN_BUILD_TESTS + +OPTIONS_DEFINE= MPI OPENMP +OPTIONS_DEFAULT= OPENMP + +MPI_CMAKE_BOOL= __OPENNN_MPI__ +MPI_BROKEN= https://github.com/Artelnics/OpenNN/issues/86 + +OPENMP_CMAKE_BOOL= __OPENNN_OMP__ +OPENMP_LIB_DEPENDS= libomp.so:devel/openmp +OPENMP_USES= localbase:ldflags + +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 Added: head/misc/opennn/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/opennn/distinfo Fri Nov 29 01:58:05 2019 (r518618) @@ -0,0 +1,3 @@ +TIMESTAMP = 1574568515 +SHA256 (Artelnics-OpenNN-0.1-86-g449b346_GH0.tar.gz) = 1277637d5593bbe652ef0499d762aa54c1085e4dac2fc4b01ba7e304878f2352 +SIZE (Artelnics-OpenNN-0.1-86-g449b346_GH0.tar.gz) = 3572152 Added: head/misc/opennn/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/opennn/files/patch-CMakeLists.txt Fri Nov 29 01:58:05 2019 (r518618) @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2019-11-29 00:56:51 UTC ++++ CMakeLists.txt +@@ -8,8 +8,8 @@ if(__OPENNN_MPI__) + find_package(MPI) + if(MPI_FOUND) + message("Using MPI") +- set(CMAKE_CXX_COMPILER mpicxx) +- set(CMAKE_C_COMPILER mpicc) ++ set(CMAKE_CXX_COMPILER ${CMAKE_INSTALL_PREFIX}/bin/mpicxx) ++ set(CMAKE_C_COMPILER ${CMAKE_INSTALL_PREFIX}/bin/mpicc) + set(CMAKE_CXX_COMPILE_FLAGS "${CMAKE_CXX_COMPILE_FLAGS} ${MPI_COMPILE_FLAGS}") + set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} ${MPI_LINK_FLAGS}") + add_definitions(-D__OPENNN_MPI__ ) Added: head/misc/opennn/files/patch-opennn_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/opennn/files/patch-opennn_CMakeLists.txt Fri Nov 29 01:58:05 2019 (r518618) @@ -0,0 +1,11 @@ +--- opennn/CMakeLists.txt.orig 2019-11-29 00:38:47 UTC ++++ opennn/CMakeLists.txt +@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.8.10) + + project(opennn) + +-add_library(opennn ++add_library(opennn SHARED + adaptive_moment_estimation.cpp + association_rules.cpp + bounding_layer.cpp Added: head/misc/opennn/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/opennn/pkg-descr Fri Nov 29 01:58:05 2019 (r518618) @@ -0,0 +1,15 @@ +OpenNN is a software library written in C++ for advanced analytics. It +implements neural networks, the most successful machine learning method. + +The main advantage of OpenNN is its high performance. This library outstands in +terms of execution speed and memory allocation. It is constantly optimized and +parallelized in order to maximize its efficiency. + +Some typical applications of OpenNN are business intelligence (customer +segmentation, churn prevention...), health care (early diagnosis, microarray +analysis...) and engineering (performance optimization, predictive +maitenance...). + +OpenNN does not deal with computer vision or natural language processing. + +WWW: https://www.opennn.net/ Added: head/misc/opennn/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/opennn/pkg-plist Fri Nov 29 01:58:05 2019 (r518618) @@ -0,0 +1,57 @@ +include/opennn/adaptive_moment_estimation.h +include/opennn/association_rules.h +include/opennn/bounding_layer.h +include/opennn/conjugate_gradient.h +include/opennn/correlation_analysis.h +include/opennn/cross_entropy_error.h +include/opennn/data_set.h +include/opennn/file_utilities.h +include/opennn/genetic_algorithm.h +include/opennn/golden_section_order.h +include/opennn/gradient_descent.h +include/opennn/growing_inputs.h +include/opennn/incremental_order.h +include/opennn/inputs.h +include/opennn/inputs_selection_algorithm.h +include/opennn/inputs_trending_layer.h +include/opennn/instances.h +include/opennn/k_nearest_neighbors.h +include/opennn/learning_rate_algorithm.h +include/opennn/levenberg_marquardt_algorithm.h +include/opennn/loss_index.h +include/opennn/matrix.h +include/opennn/mean_squared_error.h +include/opennn/minkowski_error.h +include/opennn/missing_values.h +include/opennn/model_selection.h +include/opennn/multilayer_perceptron.h +include/opennn/neural_network.h +include/opennn/normalized_squared_error.h +include/opennn/numerical_differentiation.h +include/opennn/numerical_integration.h +include/opennn/opennn.h +include/opennn/optimization_algorithm.h +include/opennn/order_selection_algorithm.h +include/opennn/outputs.h +include/opennn/outputs_trending_layer.h +include/opennn/perceptron_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/scaled_conjugate_gradient.h +include/opennn/scaling_layer.h +include/opennn/selective_pruning.h +include/opennn/simulated_annealing_order.h +include/opennn/sparse_matrix.h +include/opennn/stochastic_gradient_descent.h +include/opennn/sum_squared_error.h +include/opennn/testing_analysis.h +include/opennn/text_analytics.h +include/opennn/tinyxml2.h +include/opennn/training_strategy.h +include/opennn/unscaling_layer.h +include/opennn/variables.h +include/opennn/vector.h +include/opennn/weighted_squared_error.h +lib/libopennn.so