fixed paths for c lib

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

View File

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

View File

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