1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

games/leela-zero: Add download-weights target; Add info to pkg-message

This commit is contained in:
Yuri Victorovich 2022-07-12 18:17:19 -07:00
parent db2cfd5d73
commit 53a8ee1f4f
2 changed files with 7 additions and 0 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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
}
]