fixed paths for c lib

pull/521/head
Richard Guo 1 year ago
parent 65292d8721
commit d59ae64fa7

@ -20,7 +20,7 @@ jobs:
command: |
git submodule init
git submodule update
cd gpt4all-backend/llmodel
cd gpt4all-backend
mkdir build
cd build
cmake ..
@ -51,7 +51,7 @@ jobs:
command: |
git submodule init
git submodule update
cd gpt4all-backend/llmodel
cd gpt4all-backend
mkdir build
cd build
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
@ -128,7 +128,7 @@ jobs:
command: |
git submodule init
git submodule update
cd gpt4all-backend/llmodel
cd gpt4all-backend
mkdir build
cd build
cmake -G "MinGW Makefiles" ..

@ -6,8 +6,8 @@ import shutil
package_name = "gpt4all"
# Define the location of your prebuilt C library files
SRC_CLIB_DIRECtORY = os.path.join("..", "..", "gpt4all-backend", "llmodel")
SRC_CLIB_BUILD_DIRECTORY = os.path.join("..", "..", "gpt4all-backend", "llmodel", "build")
SRC_CLIB_DIRECtORY = os.path.join("..", "..", "gpt4all-backend")
SRC_CLIB_BUILD_DIRECTORY = os.path.join("..", "..", "gpt4all-backend", "build")
LIB_NAME = "llmodel"

Loading…
Cancel
Save