shithub: moonfish

Download patch

ref: 4f8829009e8c26e6a878261e0bc4c7e7617ef6b6
parent: 6482e60caf7916c1f0085064eb8a17b55d9db117
author: zamfofex <zamfofex@twdb.moe>
date: Fri Oct 20 18:09:16 EDT 2023

simplify ‘build.yml’

--- a/.build.yml
+++ b/.build.yml
@@ -4,12 +4,10 @@
 image: alpine/latest
 packages:
   - build-base
-  - python3
   - bearssl-dev
   - xz
 sources:
   - https://git.sr.ht/~zamfofex/moonfish
-  - https://github.com/thomasahle/sunfish#10e93383eae345c2b700657afe33b862604af20a
   - https://github.com/DaveGamble/cJSON#v1.7.16
 tasks:
   - build-cjson: |
@@ -18,9 +16,8 @@
       mkdir cjson
       mv cJSON.h cjson
   - build: |
-      cp sunfish/nnue/models/tanh.pickle moonfish
       cd moonfish
-      make CPPFLAGS=-I../cJSON LDFLAGS='-static -L../cJSON' inbuilt_network=yes
+      make CPPFLAGS=-I../cJSON LDFLAGS='-static -L../cJSON'
   - minify: |
       cd moonfish
       ./minify.sh
--