Skip to content

Commit

Permalink
tweak info string and makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dkappe committed Jan 10, 2021
1 parent 80b2dc7 commit 9fd0595
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
GCC=gcc
WIN=x86_64-w64-mingw32-gcc
CFLAGS=-static -Ofast -fomit-frame-pointer -DIS_64BIT
WIN=x86_64-w64-mingw32-g++
WINFLAGS=-static -Wall -fstrict-aliasing -fno-exceptions -fno-rtti -Wno-unused-variable -Wno-unused-result -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fPIC -fomit-frame-pointer

all:
ld -r -b binary -o toganet.o toganet.bin
$(GCC) -march=native -Ofast *.cpp ./nnue/*.cpp toganet.o -o toga3 -lm -lpthread -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse -DUSE_AVX2 -mavx2
$(GCC) -Ofast *.cpp ./nnue/*.cpp toganet.o -o toga3_avx2 -lm -lpthread -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse -DUSE_AVX2 -mavx2
# $(WIN) -Ofast *.cpp ./nnue/*.cpp toganet.o -o toga3.exe -lm -lpthread -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse -DUSE_AVX2 -mavx2
$(GCC) -march=native $(CFLAGS) *.cpp ./nnue/*.cpp toganet.o -o toga3 -lm -lpthread -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse -DUSE_AVX2 -mavx2
$(GCC) $(CFLAGS) *.cpp ./nnue/*.cpp toganet.o -o toga3_avx2 -lm -lpthread -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse -DUSE_AVX2 -mavx2
$(GCC) $(CFLAGS) *.cpp ./nnue/*.cpp toganet.o -o toga3_sse -lm -lpthread -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse
$(GCC) $(CFLAGS) *.cpp ./nnue/*.cpp toganet.o -o toga3_basic -lm -lpthread
$(WIN) $(WINFLAGS) -Ofast *.cpp ./nnue/*.cpp toganet.o -o toga3_avx2.exe -lm -lpthread -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse -DUSE_AVX2 -mavx2

2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main(int argc, char * argv[]) {
util_init();
my_random_init(); // for opening book

printf("Toga III 0.1 UCI based on Fruit 2.1 by Jerry Donald Watson, Thomas Gaksch and Fabien Letouzey. \n");
printf("Toga III 0.2 UCI based on Fruit 2.1 by Dietrich Kappe, Jerry Donald Watson, Thomas Gaksch and Fabien Letouzey. \n");
//printf("Code was based on Toga II 1.4.1SE by Thomas Gaksch (modified by Chris Formula), with bugfixes by Michel van den Bergh\n");

// early initialisation (the rest is done after UCI options are parsed in protocol.cpp)
Expand Down

0 comments on commit 9fd0595

Please sign in to comment.