From nobody Tue Apr 19 18:34:11 2022 X-Original-To: dev-commits-ports-all@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 EE35711E128A; Tue, 19 Apr 2022 18:34:11 +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 4KjXWl6KP3z4XYM; Tue, 19 Apr 2022 18:34:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650393251; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EbgUswVwppXGMlg1h8tyXxdE0Z0JVeAEphER+/33ZIc=; b=yahq1k3W3FtwoHgAx0FB9GUg2Wjxgiw7bHfemS54mA0ANWcdEaFVABovEDmdiBOvTSYGo1 4hlQcldZ90vdWLQDT6Np8x8mVCfXv+LcOuM33rBXfT9qeZssnHGL6mpYko0j30NDPkSuN5 TExY4zy+cwrSPrUiqNLylNRJk/7WJjoW6NMT5a7DDbblHiE9LGeayxI+dyNvUNWFeC4PEy WCens5goV0rMV61aWmxcdyxhtP8uyd+ujxhKNVqtrndafAa0TuKOgJwsGBCMx406VuTa4R cmse0iiTXborypz4wdTLAWwztbiF7FUWeuPmfZnnqoaqQ1joBUlWG3Y+/O6X3Q== 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 B8B762CA05; Tue, 19 Apr 2022 18:34:11 +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 23JIYBjK006325; Tue, 19 Apr 2022 18:34:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23JIYBsY006324; Tue, 19 Apr 2022 18:34:11 GMT (envelope-from git) Date: Tue, 19 Apr 2022 18:34:11 GMT Message-Id: <202204191834.23JIYBsY006324@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan E=C3=9Fer?= Subject: git: 88760e0fa5d6 - main - lang/silq: update to latest upstream version (afaf865) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 88760e0fa5d6a3200c386947dd0df658323c2682 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650393251; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EbgUswVwppXGMlg1h8tyXxdE0Z0JVeAEphER+/33ZIc=; b=XqH8AXulrybKcklFqGxfEABFaQuLHMqx1T98+050SQ/npJYsKgeZi28De+eiRW8L5uvR+6 Z5UBhgbHUn5Hn2QZxpbZs9CQcjkxLJ/u4I52XhlEa19e+h38BoMp+LTkzLHl+iDZ+QdWdB UHvxVKBjQSv93K4aE8Ub1PGNvxJTuHJTEuFuV4MiiaWZSk+8xHe9U2BcyfaIIsehHnuPsV /NV42YeIfr49NwYChzdJaZK8/cZMmEEt5VfpJRBWDIcfiX3qIoCaIaOgpzTDKQongogPwP GjnXIA6EoR6qSVcWsgnYvFNSRP53j2ld3rbCGreMT8SdEz6frhxGdJYzwPtZCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650393251; a=rsa-sha256; cv=none; b=DyEEFfQtXMecAnvQtEiVGj/JBFfCDI9ZusrbgvTpvFkeKsx+UbIt7wTOBaT0wqqjzw8HR+ riT1XyLWM4E4YbwrZCKHasaXU5FTSZrjSWhuATpG6juY2rOXi6HqRUuYm+BmemU+Wx1IIX 366M4DFm4F/uLB132sI6bWMPevvPEnPBq0Qs/7wVAYEntsnPw+2WBElZ/VMvWOnLuwKmIT b3ELAsIab0goQNcxQi2KdDGg35JwuepiPoKYRSe1NHZDGwdJthO7s+F1vn210BQf9hyXUS uWAlr2h44Kz6aMQAl1btZwCCqCw4wAVdDWUQuYGA4bCM+hJXJjza6095paj/Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=88760e0fa5d6a3200c386947dd0df658323c2682 commit 88760e0fa5d6a3200c386947dd0df658323c2682 Author: Stefan Eßer AuthorDate: 2022-04-19 18:05:09 +0000 Commit: Stefan Eßer CommitDate: 2022-04-19 18:33:46 +0000 lang/silq: update to latest upstream version (afaf865) This update adds unsafe type punning to the Silq language and adds support for the execution of the test cases to the port. --- lang/silq/Makefile | 11 ++++++++--- lang/silq/distinfo | 14 +++++++------- lang/silq/pkg-plist | 5 +++++ 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/lang/silq/Makefile b/lang/silq/Makefile index 2b493dfb814c..4fb74f185fbd 100644 --- a/lang/silq/Makefile +++ b/lang/silq/Makefile @@ -1,6 +1,7 @@ PORTNAME= silq -PORTVERSION= 20211117 +PORTVERSION= 20220224 CATEGORIES= lang math science +DIST_SUBDIR= silq MAINTAINER= se@FreeBSD.org COMMENT= Silq from ETH Zuerich @@ -16,8 +17,8 @@ BUILD_DEPENDS= ldmd2:lang/ldc \ USE_GITHUB= yes -GH_TUPLE= eth-sri:silq:1bc7ece \ - tgehr:ast:7c26e76:ast/ast \ +GH_TUPLE= eth-sri:silq:afaf865 \ + tgehr:ast:d2f25fb:ast/ast \ tgehr:util:7e9f0ce:util/util OPTIONS_DEFINE= EXAMPLES @@ -29,6 +30,10 @@ LLVM_VERSION= 10 do-build: cd ${WRKSRC}; ldmd2 -O -inline -J. -Jlibrary *.d ast/*.d util/*.d -linker=lld${LLVM_VERSION} -of=silq +do-test: + cd ${WRKSRC}/test; ldmd2 -O runtests.d -linker=lld${LLVM_VERSION} -of=runtests + cd ${WRKSRC}/test; ./runtests + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/silq ${STAGEDIR}${PREFIX}/bin/ .if ${PORT_OPTIONS:MEXAMPLES} diff --git a/lang/silq/distinfo b/lang/silq/distinfo index d3344e178e18..dd9943309d4e 100644 --- a/lang/silq/distinfo +++ b/lang/silq/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1637153546 -SHA256 (eth-sri-silq-20211117-1bc7ece_GH0.tar.gz) = 9c51050b234373bb79762384cbd5556df6962fbb60e08e2e72e4e43556cdb639 -SIZE (eth-sri-silq-20211117-1bc7ece_GH0.tar.gz) = 242312 -SHA256 (tgehr-ast-7c26e76_GH0.tar.gz) = cd67b2e1ce6426ddfab4b0772b7c9812f4d3008293953f4420e06be4db2d2450 -SIZE (tgehr-ast-7c26e76_GH0.tar.gz) = 75083 -SHA256 (tgehr-util-7e9f0ce_GH0.tar.gz) = f73af612a6aa14c966cc46f392394d8c43b90ecf8c0be0c44b509cc07a7e949f -SIZE (tgehr-util-7e9f0ce_GH0.tar.gz) = 9455 +TIMESTAMP = 1650392986 +SHA256 (silq/eth-sri-silq-20220224-afaf865_GH0.tar.gz) = 37e8ad58f4ac0b60f510af188cc167e4e8ef767f949b60f66fd7c4b339d6dc8c +SIZE (silq/eth-sri-silq-20220224-afaf865_GH0.tar.gz) = 167609 +SHA256 (silq/tgehr-ast-d2f25fb_GH0.tar.gz) = bfec0dd622f726fd4a8d0e05967bcbb7578468c33d1295aa4d82bf540f459c83 +SIZE (silq/tgehr-ast-d2f25fb_GH0.tar.gz) = 75363 +SHA256 (silq/tgehr-util-7e9f0ce_GH0.tar.gz) = f73af612a6aa14c966cc46f392394d8c43b90ecf8c0be0c44b509cc07a7e949f +SIZE (silq/tgehr-util-7e9f0ce_GH0.tar.gz) = 9455 diff --git a/lang/silq/pkg-plist b/lang/silq/pkg-plist index f9fddea1b798..c53355bd5b7b 100644 --- a/lang/silq/pkg-plist +++ b/lang/silq/pkg-plist @@ -141,6 +141,9 @@ bin/silq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/divbyzero2.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/divmod.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dlog.slq +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/draper.slq +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/draperFunny.slq +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/draperPretty.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dump.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dump2.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpExit.slq @@ -283,6 +286,7 @@ bin/silq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/piToRat.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/print.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/qft.slq +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/qftPretty.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/quantumBitNotMinus.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/quantumControlClassicalAssignment.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/quantumIfClassicalUpdate.slq @@ -371,6 +375,7 @@ bin/silq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testHadamard.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testLiftedClassical.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testParamSameName.slq +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testPunning.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testQFT.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testQFT2.slq %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testQFT3.slq