From 6e6125ebdb650bfbae85906857e109c5978dde9b Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 1 Apr 2023 09:25:41 +0800 Subject: [PATCH] updated pyinstaller to clean temp dir,removed warning flags from makefile because they are just clutter. --- Makefile | 5 ----- make_pyinstaller.bat | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile b/Makefile index fda10c1ca..a6bf0e024 100644 --- a/Makefile +++ b/Makefile @@ -35,11 +35,6 @@ CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC LDFLAGS = -# warnings -CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-unused-function -CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function - - #lets try enabling everything CFLAGS += -pthread -mf16c -mfma -mavx2 -mavx -msse3 CXXFLAGS += -pthread diff --git a/make_pyinstaller.bat b/make_pyinstaller.bat index 6be8d12e9..fc91fd028 100644 --- a/make_pyinstaller.bat +++ b/make_pyinstaller.bat @@ -1 +1 @@ -pyinstaller --noconfirm --onefile --console --icon "./niko.ico" --add-data "./klite.embd;." --add-data "./llamacpp.dll;." --add-data "./llamacpp_blas.dll;." --add-data "./libopenblas.dll;." "./llamacpp_for_kobold.py" -n "llamacpp-for-kobold.exe" \ No newline at end of file +pyinstaller --noconfirm --onefile --clean --console --icon "./niko.ico" --add-data "./klite.embd;." --add-data "./llamacpp.dll;." --add-data "./llamacpp_blas.dll;." --add-data "./libopenblas.dll;." "./llamacpp_for_kobold.py" -n "llamacpp-for-kobold.exe" \ No newline at end of file