From nobody Fri Oct 29 11:38:43 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 18D5B1831F30; Fri, 29 Oct 2021 11:38:44 +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 4HggRm04M5z3pZN; Fri, 29 Oct 2021 11:38:44 +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 D641F167C2; Fri, 29 Oct 2021 11:38:43 +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 19TBch91016168; Fri, 29 Oct 2021 11:38:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19TBchXZ016167; Fri, 29 Oct 2021 11:38:43 GMT (envelope-from git) Date: Fri, 29 Oct 2021 11:38:43 GMT Message-Id: <202110291138.19TBchXZ016167@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 3ac3eab64cc4 - main - math/fastops: use better program names; run, but don't install the test. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3ac3eab64cc4359a550525bbb86adc5457e711e1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=3ac3eab64cc4359a550525bbb86adc5457e711e1 commit 3ac3eab64cc4359a550525bbb86adc5457e711e1 Author: Alexey Dokuchaev AuthorDate: 2021-10-29 11:37:22 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-10-29 11:37:23 +0000 math/fastops: use better program names; run, but don't install the test. --- math/fastops/Makefile | 12 ++++++++++++ math/fastops/pkg-plist | 5 ++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/math/fastops/Makefile b/math/fastops/Makefile index 3d039e2b74af..31f32a02e4e7 100644 --- a/math/fastops/Makefile +++ b/math/fastops/Makefile @@ -17,4 +17,16 @@ USES= cmake compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= yandex +do-test: + ${TEST_WRKSRC}/${PORTNAME}/ut/${PORTNAME}_test + +post-stage: +# Rename generically-named binaries to avoid potential clashes +.for p in benchmark eval + ${MV} ${STAGEDIR}${PREFIX}/bin/${p} \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME}_${p} +.endfor +# Remove the test program (we run tests, but not install them) + ${RM} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}_test + .include diff --git a/math/fastops/pkg-plist b/math/fastops/pkg-plist index 736d23848c3a..297efb5e412d 100644 --- a/math/fastops/pkg-plist +++ b/math/fastops/pkg-plist @@ -1,6 +1,5 @@ -bin/benchmark -bin/eval -bin/fastops_test +bin/fastops_benchmark +bin/fastops_eval include/avx/ops_avx.h include/avx2/ops_avx2.h include/core/FastIntrinsics.h