mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-11-09 16:55:32 +03:00
fixed paths for c lib
This commit is contained in:
parent
65292d8721
commit
d59ae64fa7
@ -20,7 +20,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
cd gpt4all-backend/llmodel
|
cd gpt4all-backend
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
@ -51,7 +51,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
cd gpt4all-backend/llmodel
|
cd gpt4all-backend
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
|
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
|
||||||
@ -128,7 +128,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
cd gpt4all-backend/llmodel
|
cd gpt4all-backend
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G "MinGW Makefiles" ..
|
cmake -G "MinGW Makefiles" ..
|
||||||
|
@ -6,8 +6,8 @@ import shutil
|
|||||||
package_name = "gpt4all"
|
package_name = "gpt4all"
|
||||||
|
|
||||||
# Define the location of your prebuilt C library files
|
# Define the location of your prebuilt C library files
|
||||||
SRC_CLIB_DIRECtORY = os.path.join("..", "..", "gpt4all-backend", "llmodel")
|
SRC_CLIB_DIRECtORY = os.path.join("..", "..", "gpt4all-backend")
|
||||||
SRC_CLIB_BUILD_DIRECTORY = os.path.join("..", "..", "gpt4all-backend", "llmodel", "build")
|
SRC_CLIB_BUILD_DIRECTORY = os.path.join("..", "..", "gpt4all-backend", "build")
|
||||||
|
|
||||||
LIB_NAME = "llmodel"
|
LIB_NAME = "llmodel"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user