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:
parent
db2cfd5d73
commit
53a8ee1f4f
@ -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>
|
||||
|
@ -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
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user