@haja - replying to myself in case someone runs into the same problem. The solution is
git config --global protocol.file.allow always
as explained e.g.
Git Clone URL: | https://aur.archlinux.org/leela-zero-git.git (read-only, click to copy) |
---|---|
Package Base: | leela-zero-git |
Description: | Go engine with no human-provided knowledge, modeled after the AlphaGo Zero paper. (next branch) |
Upstream URL: | https://github.com/leela-zero/leela-zero |
Licenses: | GPLv3 |
Conflicts: | leela-zero |
Provides: | leela-zero |
Submitter: | apetresc |
Maintainer: | apetresc (algebro) |
Last Packager: | algebro |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2018-06-03 19:44 (UTC) |
Last Updated: | 2019-07-23 15:11 (UTC) |
@haja - replying to myself in case someone runs into the same problem. The solution is
git config --global protocol.file.allow always
as explained e.g.
Please check the changes around Arch openblas and blas-openblas. You might need to switch depends from openblas
to blas-openblas
. Arch openblas package is incomplete, only blas-openblas carries the full OpenBlas Lapack suite.
Background:
Arch announced on June 14, 2023 a new blas-openblas repo package, which finally offers the full suite of OpenBLAS Lapack, with their blas implementation and corresponding cblas/lapacke interfaces.
I am getting the same error as @siulkilulki, even though my GPU is an nVidia Quadro 2000 which supports Opencl 1.1 (according to nVdia's website, at least).
can you add provides=('leela-zero')
to the PKGBUILD?
@apetresc: I was a little bit to lazy. Thought that it would work right away. I've read leela-zero README and after adding -DUSE_CPU_ONLY=1 to cmake everything builds. Unfortunately I've build some unnecessary dependencies which are probably not needed. If you don't mind I can make leela-zero-cpu-only and lizzie-cpu-only package.
@siulkilulki: that error (as well as the same one you posted in the lizzie package) indicates that you don't have an OpenCL-compatible graphics card on your machine.
While Leela does have support for CPU-only mode, it performs much, much worse than the OpenCL version. At the moment, this PKGBUILD is only for the OpenCL version; maybe we should have a special package for leela-zero-cpu-only
or something, but this package has a hard requirement on an OpenCL-compatible GPU.
Build fails when running ./tests
from leela-zero-git/src/leela-zero/build/
directory
Running main() from gtest_main.cc
...
unknown file: Failure
C++ exception with description "clGetPlatformIDs" thrown in auxiliary test code (environments or event listeners).
Pinned Comments
apetresc commented on 2018-11-05 00:48 (UTC)
@siulkilulki: that error (as well as the same one you posted in the lizzie package) indicates that you don't have an OpenCL-compatible graphics card on your machine.
While Leela does have support for CPU-only mode, it performs much, much worse than the OpenCL version. At the moment, this PKGBUILD is only for the OpenCL version; maybe we should have a special package for
leela-zero-cpu-only
or something, but this package has a hard requirement on an OpenCL-compatible GPU.