LeelaChessZero / lc0

The rewritten engine, originally for tensorflow. Now all other backends have been ported here.
GNU General Public License v3.0
2.38k stars 525 forks source link

rework selection of cuda build architecture #1905 #1907

Closed whelanh closed 1 year ago

whelanh commented 1 year ago

I apologize if this is the wrong place to report this. When compiling lc0 in Windows after commit 4e314e5, I received the following error:

meson.build:507:26: ERROR: The == operator of str does not accept objects of type list ([])

I am attaching the log. Simply changing line 507 of meson.build to "if true" allows compilation to proceed without issue. Apparently this is just a str issue.

meson-log.txt

whelanh commented 1 year ago

This has been solved per comment by borg323 to change line 487 of meson.build to:

nvcc_extra_args = ['-arch=native']