Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 01:58:06 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
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
Message-ID:  <201911290158.xAT1w6t2058486@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911290158.xAT1w6t2058486>