Skip to content

Commit

Permalink
- Ubuntuで未知なNNUEアーキテクチャのビルドに失敗していたのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yaneurao committed Jun 27, 2024
1 parent 1746b8a commit 993da9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ ifneq (,$(findstring YANEURAOU_ENGINE_NNUE,$(YANEURAOU_EDITION)))

else
# 知らないNNUEのarchitectureなので、architecture headerを動的に生成する。
ARCH_HEADER_FILE = \"architectures\\$(subst YANEURAOU_ENGINE_NNUE_,,$(YANEURAOU_EDITION)).h\"
ARCH_HEADER_FILE = \"architectures/$(subst YANEURAOU_ENGINE_NNUE_,,$(YANEURAOU_EDITION)).h\"
CPPFLAGS += -DNNUE_ARCHITECTURE_HEADER=$(ARCH_HEADER_FILE)
ARCH_GEN_SCRIPT = $(PYTHON) eval/nnue/architectures/nnue_arch_gen.py $(YANEURAOU_EDITION) eval/nnue/architectures
endif
Expand Down
2 changes: 1 addition & 1 deletion source/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ const std::string config_info()
#elif defined(YANEURAOU_ENGINE_NNUE_HALFKP_1024X2_8_32)
"halfkp_1024x2_8_32";
#elif defined(YANEURAOU_ENGINE_NNUE_HALFKP_1024X2_8_64)
"halfkp_1024x2-8-64";
"halfkp_1024x2_8_64";
#elif defined(EVAL_NNUE_HALFKP_VM_256X2_32_32)
"halfkpvm_256x2_32_32";
#else
Expand Down

0 comments on commit 993da9c

Please sign in to comment.