mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 00:07:07 +00:00
Fix intel mac build
Make sure we're building an x86 ext_server lib when cross-compiling
This commit is contained in:
@@ -75,7 +75,7 @@ func newDynExtServer(library, model string, adapters, projectors []string, opts
|
||||
updatePath(filepath.Dir(library))
|
||||
libPath := C.CString(library)
|
||||
defer C.free(unsafe.Pointer(libPath))
|
||||
resp := newExtServerResp(128)
|
||||
resp := newExtServerResp(512)
|
||||
defer freeExtServerResp(resp)
|
||||
var srv C.struct_dynamic_llama_server
|
||||
C.dyn_init(libPath, &srv, &resp)
|
||||
|
||||
Reference in New Issue
Block a user