aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJose Maldonado <63384398+yukiteruamano@users.noreply.github.com>2023-07-21 06:53:27 -0400
committerGitHub <noreply@github.com>2023-07-21 13:53:27 +0300
commit73643f5fb1136dc2b65ae910bdc5a431520d70a2 (patch)
tree6ce452a7b36dbff208231c9671e13df6769be60d /Makefile
parenta814d04f81121e0429b39a61fe4afd946cd42046 (diff)
gitignore : changes for Poetry users + chat examples (#2284)
A fix in Makefile for FreeBSD users. In the platfrom x86_64 is amd64. This fix resolve compilation using CFLAGS and CXXFLAGS with -march=native and -mtune=native Add two examples for interactive mode using Llama2 models (thx TheBloke for models) Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f8c4b3..1ea3c45 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,7 @@ endif
# Architecture specific
# TODO: probably these flags need to be tweaked on some architectures
# feel free to update the Makefile for your architecture and send a pull request or issue
-ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
+ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
# Use all CPU extensions that are available:
CFLAGS += -march=native -mtune=native
CXXFLAGS += -march=native -mtune=native