ravenscroftj / turbopilot

Turbopilot is an open source large-language-model based code completion engine that runs locally on CPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build for Mac OS Apple Silicon?

m1chae1bx opened this issue · comments

Hello, is there anyone who could help me build the Turbopilot binary for Mac OS running on Apple Silicon? I'm stuck on the cmake part. I don't know which arguments to pass to cmake and the BUILD.md isn't also clear.

So I followed the following instructions

mkdir build
cd build
cmake ..

But what do I pass to cmake for Mac OS?

Okay, I finally figured it out. It should be the following instead:

mkdir build
cmake -B build
cd build
make