]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
make : fix Apple clang determination bug (#4272)
authorWillCorticesAI <redacted>
Thu, 30 Nov 2023 22:23:44 +0000 (17:23 -0500)
committerGitHub <redacted>
Thu, 30 Nov 2023 22:23:44 +0000 (00:23 +0200)
Co-authored-by: Will Findley <redacted>
Makefile

index 22132ae23789681b712483d0e7b9b43129b2f196..25b113e0a930697d52a4af4a247e2bcdfa60e33d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ ifeq '' '$(findstring clang,$(shell $(CC) --version))'
        CC_VER := $(shell $(CC) -dumpfullversion -dumpversion | awk -F. '{ printf("%02d%02d%02d", $$1, $$2, $$3) }')
 else
        CC_IS_CLANG=1
-       ifeq '' '$(findstring Apple LLVM,$(shell $(CC) --version))'
+       ifeq '' '$(findstring Apple,$(shell $(CC) --version))'
                CC_IS_LLVM_CLANG=1
        else
                CC_IS_APPLE_CLANG=1