Merge pull request #149680 from OmnipotentEntity/katago-1.10.0
katago: 1.9.1 -> 1.10.0
This commit is contained in:
commit
e9670f14ff
|
@ -1,5 +1,4 @@
|
|||
{ stdenv
|
||||
, gcc8Stdenv
|
||||
, boost
|
||||
, cmake
|
||||
, cudatoolkit
|
||||
|
@ -26,21 +25,18 @@
|
|||
assert !enableGPU -> (
|
||||
!enableCuda);
|
||||
|
||||
let
|
||||
env = if enableCuda
|
||||
then gcc8Stdenv
|
||||
else stdenv;
|
||||
|
||||
in env.mkDerivation rec {
|
||||
# N.b. older versions of cuda toolkit (e.g. 10) do not support newer versions
|
||||
# of gcc. If you need to use cuda10, please override stdenv with gcc8Stdenv
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "katago";
|
||||
version = "1.9.1";
|
||||
githash = "c3220a5a404af835792c476f3f24904e4b799444";
|
||||
version = "1.10.0";
|
||||
githash = "ff49d04ad6bcfa056c63492439a41e2f3bce0847";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lightvector";
|
||||
repo = "katago";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-sAtPOqGe6fZ9mAtLdp80fTALXVkP9WdWQU2iTFGXe24=";
|
||||
sha256 = "sha256-ZLJNNjZ5RdOktWDp88d/ItpokANl2EJ0Gbt9oMGm1Og=";
|
||||
};
|
||||
|
||||
fakegit = writeShellScriptBin "git" "echo ${githash}";
|
||||
|
|
|
@ -30612,8 +30612,8 @@ with pkgs;
|
|||
|
||||
katagoWithCuda = katago.override {
|
||||
enableCuda = true;
|
||||
cudnn = cudnn_cudatoolkit_10_2;
|
||||
cudatoolkit = cudatoolkit_10_2;
|
||||
cudnn = cudnn_cudatoolkit_11;
|
||||
cudatoolkit = cudatoolkit_11;
|
||||
};
|
||||
|
||||
katagoCPU = katago.override {
|
||||
|
|
Loading…
Reference in a new issue