File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ class Localai < Formula
33
44  desc  "OpenAI alternative" 
55  homepage  "https://localai.io" 
6-   url  "https://github.com/mudler/LocalAI/archive/refs/tags/v2.27 .0.tar.gz" 
7-   sha256  "595ade8031a8f7d4fd23c4e3a5c24b37f542059f3585c9f15352da4fb79c06e0 " 
6+   url  "https://github.com/mudler/LocalAI/archive/refs/tags/v2.28 .0.tar.gz" 
7+   sha256  "b75f7cffb3b105c1f5e7cd4aa2d5c18cf461b6af0977d150d654d596f1dc8d79 " 
88  license  "MIT" 
99
1010  bottle  do 
@@ -35,6 +35,9 @@ def python3
3535  end 
3636
3737  def  install 
38+     # Fix to CMake Error at encodec.cpp/ggml/CMakeLists.txt:1 (cmake_minimum_required): 
39+     ENV [ "CMAKE_POLICY_VERSION_MINIMUM" ]  =  "3.5" 
40+ 
3841    ENV [ "SDKROOT" ]  =  MacOS . sdk_path  if  OS . mac? 
3942
4043    venv  =  virtualenv_create ( buildpath /"venv" ,  python3 ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments