pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

simde: Add do-test



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Thu Mar 17 10:00:07 2022 -0500
Changeset:	6e1a43731d900f3b3d502709066a50aee256a0f0

Modified Files:
	simde/Makefile
	simde/distinfo

Log Message:
simde: Add do-test

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6e1a43731d900f3b3d502709066a50aee256a0f0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 simde/Makefile | 19 +++++++------------
 simde/distinfo |  3 +++
 2 files changed, 10 insertions(+), 12 deletions(-)

diffs:
diff --git a/simde/Makefile b/simde/Makefile
index 3efefc1ef5..f8c0abbeab 100644
--- a/simde/Makefile
+++ b/simde/Makefile
@@ -5,31 +5,26 @@
 #              Wed Mar 16 17:38:53 CDT 2022               #
 ###########################################################
 
-###########################################################
-# Unconverted and partially converted FreeBSD port syntax:
-
-# On FreeBSD, adds munit to distfiles and unpacks under ${WRKSRC}/test/munit
-#GH_TUPLE=	nemequ:munit:da8f73412998e4f1adf1100dc187533a51af77fd:nemequ_munit/test/munit
-#do-test:
-#	@${RM} -r ${BUILD_WRKSRC}/*
-#	@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS:S/Dtests=false/Dtests=true/}
-#	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_ARGS} ${TEST_TARGET}
-
 DISTNAME=	simde-0.7.2
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=simd-everywhere/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
+GITHUB_SUBMODULES=	nemequ munit da8f73412998e4f1adf1100dc187533a51af77fd test/munit
 
 MAINTAINER=	bacon%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/simd-everywhere/simde
 COMMENT=	Header-only library for SIMD intrinsics
 LICENSE=	mit
 
-# Just assuming C and C++: Adjust this!
 USE_LANGUAGES=	c c++
 NO_BUILD=	yes
 MESON_ARGS+=	-Dtests=false
+BUILD_WRKSRC=	${WRKSRC}/output
+
+do-test:
+	@${RM} -r ${BUILD_WRKSRC}/*
+	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} meson -Dtests=true output
+	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ninja -v test
 
-# CentOS doesn't have zlib in the base, so uncomment if needed.
 .include "../../devel/meson/build.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/simde/distinfo b/simde/distinfo
index ba26e0caf8..50380aaefd 100644
--- a/simde/distinfo
+++ b/simde/distinfo
@@ -1,5 +1,8 @@
 $NetBSD$
 
+BLAKE2s (nemequ-munit-da8f73412998e4f1adf1100dc187533a51af77fd.tar.gz) = 35b0f19230c325017c920ed5235f8b578033ff56a74b2d7b9fdca3070ad6b093
+SHA512 (nemequ-munit-da8f73412998e4f1adf1100dc187533a51af77fd.tar.gz) = cd08c1291a73487f15fdba7bf8675fea9177f0ec9766900f65efb5f00c662532a16499447e9087d304de34ff9138f47d04ebf18713f5aa8aacede22c5e23b98b
+Size (nemequ-munit-da8f73412998e4f1adf1100dc187533a51af77fd.tar.gz) = 27727 bytes
 BLAKE2s (simde-0.7.2.tar.gz) = aabf04b4243c1b75f82120696be0150235cbf94b2738aece7339bebf2100d04b
 SHA512 (simde-0.7.2.tar.gz) = e4ee5a4a7e8453f116f1325d147f91d358a300f41ea5566ea30fc19649bababf3b87e3dc838d5608b578bd152207df4156200ffc7fb98141bc7c0bb60c75f1f5
 Size (simde-0.7.2.tar.gz) = 3821158 bytes


Home | Main Index | Thread Index | Old Index