mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
12 lines
533 B
Bash
Executable File
12 lines
533 B
Bash
Executable File
#!/bin/sh
|
|
mkdir -p runtimes
|
|
rm -rf runtimes/linux-x64
|
|
mkdir -p runtimes/linux-x64/native
|
|
mkdir runtimes/linux-x64/build
|
|
cmake -S ../../gpt4all-backend -B runtimes/linux-x64/build
|
|
cmake --build runtimes/linux-x64/build --parallel --config Release
|
|
cp runtimes/linux-x64/build/libllmodel.so runtimes/linux-x64/native/libllmodel.so
|
|
cp runtimes/linux-x64/build/libgptj*.so runtimes/linux-x64/native/
|
|
cp runtimes/linux-x64/build/libllama*.so runtimes/linux-x64/native/
|
|
cp runtimes/linux-x64/build/libmpt*.so runtimes/linux-x64/native/
|