From: Ivan Stepanov Date: Wed, 5 Apr 2023 14:38:37 +0000 (+0300) Subject: make : missing host optimizations in CXXFLAGS (#763) X-Git-Tag: gguf-v0.4.0~1016 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0c44427df10ee024b4e7ef7bfec56e993daff1db;p=pkg%2Fggml%2Fsources%2Fllama.cpp make : missing host optimizations in CXXFLAGS (#763) --- diff --git a/Makefile b/Makefile index 2f828bf1..cb14ffdb 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,7 @@ endif ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686)) # Use all CPU extensions that are available: CFLAGS += -march=native -mtune=native + CXXFLAGS += -march=native -mtune=native endif ifneq ($(filter ppc64%,$(UNAME_M)),) POWER9_M := $(shell grep "POWER9" /proc/cpuinfo)