From owner-dev-commits-ports-all@freebsd.org Thu Apr 22 05:24:37 2021 Return-Path: Delivered-To: dev-commits-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 8CB9D5FFE9B; Thu, 22 Apr 2021 05:24:37 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQm7n0ZFyz4tQM; Thu, 22 Apr 2021 05:24:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D80FF13A65; Thu, 22 Apr 2021 05:24:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13M5OamM032563; Thu, 22 Apr 2021 05:24:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13M5OaXQ032562; Thu, 22 Apr 2021 05:24:36 GMT (envelope-from git) Date: Thu, 22 Apr 2021 05:24:36 GMT Message-Id: <202104220524.13M5OaXQ032562@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 1b662c94f414 - main - New port: misc/frugally-deep: C++ header-only library to use Keras models in C++ with ease MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1b662c94f414342c208fb888540dd58da6ccccb4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 05:24:37 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b662c94f414342c208fb888540dd58da6ccccb4 commit 1b662c94f414342c208fb888540dd58da6ccccb4 Author: Yuri Victorovich AuthorDate: 2021-04-22 05:15:21 +0000 Commit: Yuri Victorovich CommitDate: 2021-04-22 05:24:30 +0000 New port: misc/frugally-deep: C++ header-only library to use Keras models in C++ with ease --- misc/Makefile | 1 + misc/frugally-deep/Makefile | 33 +++++++++++++++++++++++ misc/frugally-deep/distinfo | 3 +++ misc/frugally-deep/pkg-descr | 4 +++ misc/frugally-deep/pkg-plist | 64 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 12decefb1fd9..3473b35d1647 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -129,6 +129,7 @@ SUBDIR += freebsd-doc-zh_tw SUBDIR += freebsd-release-manifests SUBDIR += freeguide + SUBDIR += frugally-deep SUBDIR += ftdi-eeprom SUBDIR += fxload SUBDIR += gcstar diff --git a/misc/frugally-deep/Makefile b/misc/frugally-deep/Makefile new file mode 100644 index 000000000000..411f2ab41336 --- /dev/null +++ b/misc/frugally-deep/Makefile @@ -0,0 +1,33 @@ +PORTNAME= frugally-deep +DISTVERSIONPREFIX= v +DISTVERSION= 0.15.2-p0 +CATEGORIES= misc # deep-learning + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ header-only library to use Keras models in C++ with ease + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +HPP_DEPENDS= functionalplus>0:devel/functionalplus \ + nlohmann-json>0:devel/nlohmann-json +BUILD_DEPENDS= ${HPP_DEPENDS} +RUN_DEPENDS= ${HPP_DEPENDS} +TEST_DEPENDS= doctest>0:devel/doctest \ + ${PYTHON_PKGNAMEPREFIX}keras>0:math/py-keras@${PY_FLAVOR} + +USES= cmake compiler:c++14-lang eigen:3,build,run python:3.6+,test + +USE_GITHUB= yes +GH_ACCOUNT= Dobiasd + +NO_BUILD= yes +NO_ARCH= yes + +do-test: # tests are broken because they require tensorflow which is currently not available on FreeBSD + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFDEEP_BUILD_UNITTEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include diff --git a/misc/frugally-deep/distinfo b/misc/frugally-deep/distinfo new file mode 100644 index 000000000000..8bafd942782d --- /dev/null +++ b/misc/frugally-deep/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1619066238 +SHA256 (Dobiasd-frugally-deep-v0.15.2-p0_GH0.tar.gz) = 695c6b4e121406750d4f42c8df00703b7631156c380a09c7c77d3ae421c41112 +SIZE (Dobiasd-frugally-deep-v0.15.2-p0_GH0.tar.gz) = 200583 diff --git a/misc/frugally-deep/pkg-descr b/misc/frugally-deep/pkg-descr new file mode 100644 index 000000000000..e738cc277ee5 --- /dev/null +++ b/misc/frugally-deep/pkg-descr @@ -0,0 +1,4 @@ +frugally-deep is a C++ header-only library for building/training +Keras AI models. + +WWW: https://github.com/Dobiasd/frugally-deep diff --git a/misc/frugally-deep/pkg-plist b/misc/frugally-deep/pkg-plist new file mode 100644 index 000000000000..f1537ba9ecf6 --- /dev/null +++ b/misc/frugally-deep/pkg-plist @@ -0,0 +1,64 @@ +include/fdeep/base64.hpp +include/fdeep/common.hpp +include/fdeep/convolution.hpp +include/fdeep/convolution_im2col.hpp +include/fdeep/fdeep.hpp +include/fdeep/filter.hpp +include/fdeep/import_model.hpp +include/fdeep/layers/activation_layer.hpp +include/fdeep/layers/add_layer.hpp +include/fdeep/layers/average_layer.hpp +include/fdeep/layers/average_pooling_2d_layer.hpp +include/fdeep/layers/batch_normalization_layer.hpp +include/fdeep/layers/bidirectional_layer.hpp +include/fdeep/layers/concatenate_layer.hpp +include/fdeep/layers/conv_2d_layer.hpp +include/fdeep/layers/cropping_2d_layer.hpp +include/fdeep/layers/dense_layer.hpp +include/fdeep/layers/depthwise_conv_2d_layer.hpp +include/fdeep/layers/elu_layer.hpp +include/fdeep/layers/embedding_layer.hpp +include/fdeep/layers/flatten_layer.hpp +include/fdeep/layers/global_average_pooling_1d_layer.hpp +include/fdeep/layers/global_average_pooling_2d_layer.hpp +include/fdeep/layers/global_max_pooling_1d_layer.hpp +include/fdeep/layers/global_max_pooling_2d_layer.hpp +include/fdeep/layers/global_pooling_layer.hpp +include/fdeep/layers/gru_layer.hpp +include/fdeep/layers/hard_sigmoid_layer.hpp +include/fdeep/layers/input_layer.hpp +include/fdeep/layers/layer.hpp +include/fdeep/layers/leaky_relu_layer.hpp +include/fdeep/layers/linear_layer.hpp +include/fdeep/layers/lstm_layer.hpp +include/fdeep/layers/max_pooling_2d_layer.hpp +include/fdeep/layers/maximum_layer.hpp +include/fdeep/layers/model_layer.hpp +include/fdeep/layers/multiply_layer.hpp +include/fdeep/layers/permute_layer.hpp +include/fdeep/layers/pooling_2d_layer.hpp +include/fdeep/layers/prelu_layer.hpp +include/fdeep/layers/relu_layer.hpp +include/fdeep/layers/reshape_layer.hpp +include/fdeep/layers/selu_layer.hpp +include/fdeep/layers/separable_conv_2d_layer.hpp +include/fdeep/layers/sigmoid_layer.hpp +include/fdeep/layers/softmax_layer.hpp +include/fdeep/layers/softplus_layer.hpp +include/fdeep/layers/subtract_layer.hpp +include/fdeep/layers/tanh_layer.hpp +include/fdeep/layers/time_distributed_layer.hpp +include/fdeep/layers/upsampling_1d_layer.hpp +include/fdeep/layers/upsampling_2d_layer.hpp +include/fdeep/layers/zero_padding_2d_layer.hpp +include/fdeep/model.hpp +include/fdeep/node.hpp +include/fdeep/recurrent_ops.hpp +include/fdeep/shape2.hpp +include/fdeep/tensor.hpp +include/fdeep/tensor_pos.hpp +include/fdeep/tensor_shape.hpp +include/fdeep/tensor_shape_variable.hpp +lib/cmake/frugally-deep/frugally-deepConfig.cmake +lib/cmake/frugally-deep/frugally-deepConfigVersion.cmake +lib/cmake/frugally-deep/frugally-deepTargets.cmake