diff --git a/build.zig b/build.zig index 7ca1945..66f3c6f 100644 --- a/build.zig +++ b/build.zig @@ -23,7 +23,7 @@ pub fn build(b: *Build) !void { const small_net = b.option([]const u8, "small-net", "Name of the small NNUE (default: \"nn-37f18f62d772.nnue\")") orelse "nn-37f18f62d772.nnue"; opts.addOption([]const u8, "small-net", small_net); - const big_net = b.option([]const u8, "big-net", "Name of the big NNUE (default: \"nn-1111cefa1111.nnue\")") orelse "nn-1c0000000000.nnue"; + const big_net = b.option([]const u8, "big-net", "Name of the big NNUE (default: \"nn-c288c895ea92.nnue\")") orelse "nn-c288c895ea92.nnue"; opts.addOption([]const u8, "big-net", big_net); try downloadNNUE(b, small_net); @@ -75,6 +75,7 @@ pub fn build(b: *Build) !void { "movegen.cpp", "movepick.cpp", "nnue/features/half_ka_v2_hm.cpp", + "nnue/features/full_threats.cpp", "nnue/network.cpp", "nnue/nnue_accumulator.cpp", "nnue/nnue_misc.cpp", diff --git a/build.zig.zon b/build.zig.zon index e990bf3..0a01c75 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,12 +1,12 @@ .{ .name = .stockfish, .fingerprint = 0x471e85fceadc709, - .version = "17.0.0", + .version = "18.0.0", .minimum_zig_version = "0.15.1", .dependencies = .{ .Stockfish = .{ - .url = "https://github.com/official-stockfish/Stockfish/archive/sf_17.1.tar.gz", - .hash = "12206bef6885b2f5998e3b5a9e33a9c949f1a70f95502ab032a399ea8e0811ab879e", + .url = "https://github.com/official-stockfish/Stockfish/archive/refs/tags/sf_18.tar.gz", + .hash = "N-V-__8AAGVmDwCc19HXswHR-jd0uEMCczeH1WDkA3ZdgZ1y", }, }, .paths = .{