From nobody Wed Jul 13 01:18:05 2022 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 C8DFB1CFD4A4; Wed, 13 Jul 2022 01:18:05 +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 4LjKW11q3Wz3mHj; Wed, 13 Jul 2022 01:18:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657675085; 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=4DBl3iSJvSbAjjavdOJI9s2YJEmfx2Y5x3Vpse+KP/o=; b=DCdtS/BnMiEqYTAKmJ3seIhMayzD9P3adGoWUBMzPT8okbYTZB7FcceJ7EMmXjTfxKQGkt SimRuVstbR/ahWviBUVflm6Ocyooqg40RSgIW5/G5hysI/KPZrrzen82+qL+vdDSlC5DZF 6jVoNYhvo2I+n7fyN7cHiF5L/cHkvf9HbJDWmazCQVU94HwGYcsTXfCPoJZ8C7l7SSZvfE QXIuukYj2agjpKsdVELO/8LCmowsjjKLygb6xIaCDD/t1L2dR5u9VTtN+Prp7YpgfxG9C5 ezC4VKiHUXu6jfRXo+YNNBsWDaCA5rOYkwd+p4wNpHAVnscQGU2cYBbeo+TMiA== 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 4LjKW10rYzz14Yh; Wed, 13 Jul 2022 01:18:05 +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 26D1I50M091319; Wed, 13 Jul 2022 01:18:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26D1I5Mk091318; Wed, 13 Jul 2022 01:18:05 GMT (envelope-from git) Date: Wed, 13 Jul 2022 01:18:05 GMT Message-Id: <202207130118.26D1I5Mk091318@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: 53a8ee1f4fe8 - main - games/leela-zero: Add download-weights target; Add info to pkg-message 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 53a8ee1f4fe8ec16f8a445c7686ec2060827ee27 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657675085; 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=4DBl3iSJvSbAjjavdOJI9s2YJEmfx2Y5x3Vpse+KP/o=; b=eXKDHrsDB0CJYYjkd6UXmaUE/MElX9DHQ4KnDUAIRTdFEdk3g8hBCGSim6FKlIGEN2LlPA ONKP26SMw8LMxriclY51XA8kIw5hADAEURWtOjrAU8/XQdHU5W7N4a8282QDdCLyjJ8F3W pY83CxkaY+acrpH3oKi3NOohILiT3JNr92h/u+AK2RQfPQzwP5TV1bW5T4cogRDfnpbkh5 ZZ7W0Xw21vdk62bpE9ZQDtjJ9DvZr12VBIzQTL+jVdb49nYYTsLX3vQUVJX1JvOpQyAZgd X8+GtSWoKWGKv6mmb/rhM2iofGIUAjxQexIC4UGlqg1/OiFhqSrm46Ch9v4a8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657675085; a=rsa-sha256; cv=none; b=q6HUIg4FFCkXpZMCPJoCZqmZbdn272wvsMcVXpCpZ1P6bCx6SJVnLcqJjrfejcStVOMqnv rX0R0hPFTIRZI9UBkmu8CfqWDqzyfT/C1AVkTvROfGZzXaDNt+1ia5emJvUJS7KfEiUmSb nvdF00PBbq0PFiWSTRUqcyixDd5sHT5l2d33YU6caWUEYBJXCI6qm8tGS8Ao3Y2iqMVgHv 57tgivecXnL6hbFKdMn9NplyjOTtkMp7XgIdjLmiR0GHMcFCDOAlWq89ikqE19x5llkrIW GQW0ICqU+4YactFbX7aPbwbyH3vCI8b9u/pkrWD292JbKJnE3xcPuU4QeAYY0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=53a8ee1f4fe8ec16f8a445c7686ec2060827ee27 commit 53a8ee1f4fe8ec16f8a445c7686ec2060827ee27 Author: Yuri Victorovich AuthorDate: 2022-07-13 01:17:19 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-13 01:18:01 +0000 games/leela-zero: Add download-weights target; Add info to pkg-message --- games/leela-zero/Makefile | 3 +++ games/leela-zero/pkg-message | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/games/leela-zero/Makefile b/games/leela-zero/Makefile index fc9d71ee5c4b..28289476e1d2 100644 --- a/games/leela-zero/Makefile +++ b/games/leela-zero/Makefile @@ -30,4 +30,7 @@ PLIST_FILES= bin/autogtp \ do-test: @cd ${WRKSRC} && ${MKDIR} .build && ${CP} ../.build/tests .build && cd .build && ./tests +download-weights: + @${FETCH_CMD} https://zero.sjeng.org/best-network -o ~/.local/share/leela-zero/ + .include diff --git a/games/leela-zero/pkg-message b/games/leela-zero/pkg-message index d6782996df39..32b2de227f3c 100644 --- a/games/leela-zero/pkg-message +++ b/games/leela-zero/pkg-message @@ -14,6 +14,10 @@ for example: * pocl: for a simple CPU provider * beignet: for the Intel GPU provider * etc. + +You also need to download neural network weights using this command: +$ fetch https://zero.sjeng.org/best-network -o /home/yuri/.local/share/leela-zero/ + EOM } ]