]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
make : missing host optimizations in CXXFLAGS (#763)
authorIvan Stepanov <redacted>
Wed, 5 Apr 2023 14:38:37 +0000 (17:38 +0300)
committerGitHub <redacted>
Wed, 5 Apr 2023 14:38:37 +0000 (17:38 +0300)
Makefile

index 2f828bf10d7475db542008bc854efbc57e3cc61b..cb14ffdbc74b627a196d10f77fa3da47e478442d 100644 (file)
--- 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)