disable openmp on macos

This commit is contained in:
slaren 2024-05-30 11:46:28 +02:00
parent 5970a26d66
commit f1772c9973
2 changed files with 3 additions and 1 deletions

View file

@ -57,6 +57,8 @@ ifeq ($(UNAME_S),Darwin)
LLAMA_METAL := 1
endif
LLAMA_NO_OPENMP := 1
ifneq ($(UNAME_P),arm)
SYSCTL_M := $(shell sysctl -n hw.optional.arm64 2>/dev/null)
ifeq ($(SYSCTL_M),1)