fixed paths for c lib

This commit is contained in:
Richard Guo 2023-05-10 14:07:56 -04:00
parent 65292d8721
commit d59ae64fa7
2 changed files with 5 additions and 5 deletions

View File

@ -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" ..

View File

@ -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"