From owner-dev-commits-ports-main@freebsd.org Wed Aug 4 05:13:28 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 6EA8B657937; Wed, 4 Aug 2021 05:13:28 +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 4Gffyw2CZdz4s8V; Wed, 4 Aug 2021 05:13:28 +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 2DB3220B6E; Wed, 4 Aug 2021 05:13:28 +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 1745DST5042141; Wed, 4 Aug 2021 05:13:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1745DSSL042140; Wed, 4 Aug 2021 05:13:28 GMT (envelope-from git) Date: Wed, 4 Aug 2021 05:13:28 GMT Message-Id: <202108040513.1745DSSL042140@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: ecd20221e83e - main - math/ensmallen: Fix tests 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: ecd20221e83e8d746d56685c86ca1e138548adee Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2021 05:13:28 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ecd20221e83e8d746d56685c86ca1e138548adee commit ecd20221e83e8d746d56685c86ca1e138548adee Author: Yuri Victorovich AuthorDate: 2021-08-04 04:46:21 +0000 Commit: Yuri Victorovich CommitDate: 2021-08-04 05:13:08 +0000 math/ensmallen: Fix tests --- math/ensmallen/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/math/ensmallen/Makefile b/math/ensmallen/Makefile index 3672862896fd..463b2f26c926 100644 --- a/math/ensmallen/Makefile +++ b/math/ensmallen/Makefile @@ -13,15 +13,14 @@ BUILD_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo RUN_DEPENDS= ${LOCALBASE}/include/armadillo_bits/config.hpp:math/armadillo USES= cmake compiler:c++11-lang localbase -CMAKE_OFF= BUILD_TESTS +CMAKE_ON= BUILD_TESTS # will be removed NO_BUILD= yes NO_ARCH= yes -do-test: # due to a regression the test executable isn't built, see https://github.com/mlpack/ensmallen/issues/312 +do-test: @cd ${BUILD_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ensmallen_tests && \ + ./ensmallen_tests .include