Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/llama-cpp/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"b6565":
url: "https://github.com/ggerganov/llama.cpp/archive/refs/tags/b6565.tar.gz"
sha256: "d00ea100bdd2dbba35663b55124acbcf26c5a7b442fced3e2c742f245d87a6e5"
"b4570":
url: "https://github.com/ggerganov/llama.cpp/archive/refs/tags/b4570.tar.gz"
sha256: "35bfe07807fd0cf30710023765b9a7ab6c1003f27ef907ce9cea2c5464411430"
Expand Down
3 changes: 3 additions & 0 deletions recipes/llama-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ def export_sources(self):
def validate(self):
check_min_cppstd(self, 17 if self._is_new_llama else 11)

if Version(self.version) >= "b6529" and self.settings.os == "Macos" and Version(self.settings.os.version) < 13:
raise ConanInvalidConfiguration(f"{self.ref} requires OSX >=13.")

def validate_build(self):
if self._is_new_llama and self.settings.compiler == "msvc" and "arm" in self.settings.arch:
raise ConanInvalidConfiguration("llama-cpp does not support ARM architecture on msvc, it recommends to use clang instead")
Expand Down
2 changes: 2 additions & 0 deletions recipes/llama-cpp/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"b6565":
folder: "all"
"b4570":
folder: "all"
"b4079":
Expand Down