From owner-svn-ports-all@freebsd.org Mon Dec 16 02:06:56 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 0D2691D5811; Mon, 16 Dec 2019 02:06:56 +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 47bl5C6cjmz4CrC; Mon, 16 Dec 2019 02:06:55 +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 DE4901E481; Mon, 16 Dec 2019 02:06:55 +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 xBG26tB4002416; Mon, 16 Dec 2019 02:06:55 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBG26tK3002414; Mon, 16 Dec 2019 02:06:55 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201912160206.xBG26tK3002414@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 16 Dec 2019 02:06:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520208 - head/math/darknet X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/darknet X-SVN-Commit-Revision: 520208 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: Mon, 16 Dec 2019 02:06:56 -0000 Author: yuri Date: Mon Dec 16 02:06:55 2019 New Revision: 520208 URL: https://svnweb.freebsd.org/changeset/ports/520208 Log: math/darknet: Update g20180914 -> 3-446 Update to a maintained fork under the AlexeyAB GitHub account. Modified: head/math/darknet/Makefile head/math/darknet/distinfo Modified: head/math/darknet/Makefile ============================================================================== --- head/math/darknet/Makefile Mon Dec 16 01:43:15 2019 (r520207) +++ head/math/darknet/Makefile Mon Dec 16 02:06:55 2019 (r520208) @@ -1,10 +1,11 @@ # $FreeBSD$ PORTNAME= darknet -PORTVERSION= g20180914 -PORTREVISION= 1 +DISTVERSIONPREFIX= darknet_yolo_v +DISTVERSION= 3-446 +DISTVERSIONSUFFIX= -gf2fc239 PORTEPOCH= 1 -CATEGORIES= math +CATEGORIES= math # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Open source neural networks in C @@ -12,38 +13,36 @@ COMMENT= Open source neural networks in C LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler:c11 gmake +LIB_DEPENDS= libomp.so:devel/openmp + +USES= cmake compiler:c11 USE_GITHUB= yes -GH_ACCOUNT= pjreddie -GH_TAGNAME= 61c9d02 +GH_ACCOUNT= AlexeyAB USE_LDCONFIG= yes -MAKE_ARGS= OPTS=-O3 CC=${CC} CPP=${CXX} +CMAKE_OFF= ENABLE_CUDA ENABLE_CUDNN ENABLE_CUDNN_HALF ENABLE_VCPKG_INTEGRATION PLIST_FILES= bin/darknet \ include/darknet.h \ - lib/libdarknet.a \ - lib/libdarknet.so + include/yolo_v2_class.hpp \ + lib/libdark.so -OPTIONS_DEFINE= OPENCV OPENMP -OPTIONS_DEFAULT= OPENCV OPENMP +OPTIONS_DEFINE= OPENCV +OPTIONS_DEFAULT= OPENCV # Many secondary functions in DarkNet depend on OpenCV which is a large dependency. # Build with OPENCV=off for a self-contained executable which would support # core NN computations but would not support many visualization, training and # other features. -OPENCV_USES= pkgconfig -OPENCV_MAKE_ARGS= OPENCV=1 +OPENCV_USES= pkgconfig +OPENCV_CMAKE_BOOL= ENABLE_OPENCV OPENCV_LIB_DEPENDS= libopencv_video.so:graphics/opencv \ libopencv_core.so:graphics/opencv-core -OPENMP_MAKE_ARGS= OPENMP=1 - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/darknet ${STAGEDIR}${PREFIX}/bin +do-install: # https://github.com/AlexeyAB/darknet/issues/4527 + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darknet ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} - ${INSTALL_DATA} ${WRKSRC}/libdarknet.so ${STAGEDIR}${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/libdarknet.a ${STAGEDIR}${PREFIX}/lib - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdarknet.so + ${INSTALL_DATA} ${BUILD_WRKSRC}/libdark.so ${STAGEDIR}${PREFIX}/lib + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdark.so .include Modified: head/math/darknet/distinfo ============================================================================== --- head/math/darknet/distinfo Mon Dec 16 01:43:15 2019 (r520207) +++ head/math/darknet/distinfo Mon Dec 16 02:06:55 2019 (r520208) @@ -1,3 +1,3 @@ -TIMESTAMP = 1570389499 -SHA256 (pjreddie-darknet-g20180914-61c9d02_GH0.tar.gz) = 36ddd0271b8fa7dbd96829834d491971c88165c89369cfbb4f47daad15c10759 -SIZE (pjreddie-darknet-g20180914-61c9d02_GH0.tar.gz) = 3341016 +TIMESTAMP = 1576460707 +SHA256 (AlexeyAB-darknet-darknet_yolo_v3-446-gf2fc239_GH0.tar.gz) = db38891d52f8d664eeea63d8d4345b6d847a7e068f0e22c3ee9a486962e188dc +SIZE (AlexeyAB-darknet-darknet_yolo_v3-446-gf2fc239_GH0.tar.gz) = 7376135