Skip to content

Commit 33457f1

Browse files
require macOS 13 and up
1 parent 60ff0b0 commit 33457f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipes/llama-cpp/all/conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def export_sources(self):
6565
def validate(self):
6666
check_min_cppstd(self, 17 if self._is_new_llama else 11)
6767

68+
if Version(self.version) >= "b6529" and self.settings.os == "Macos" and Version(self.settings.os.version) < 13:
69+
raise ConanInvalidConfiguration(f"{self.ref} requires OSX >=13.")
70+
6871
def validate_build(self):
6972
if self._is_new_llama and self.settings.compiler == "msvc" and "arm" in self.settings.arch:
7073
raise ConanInvalidConfiguration("llama-cpp does not support ARM architecture on msvc, it recommends to use clang instead")

0 commit comments

Comments
 (0)