2023-05-22 15:56:49 -04:00
|
|
|
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
|
2023-06-13 08:05:34 -04:00
|
|
|
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/
|