diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 2443a76..a6b991d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -7,13 +7,15 @@ source "${SRC_DIR}/env.sh" if [[ "$OSTYPE" == "linux-gnu" ]]; then go get -u -d "github.com/$SALTICIDAE_ORG/salticidae-go" + cd "$SALTICIDAE_GO_PATH" + git submodule update --init --recursive cd "$SALTICIDAE_PATH" cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$SALTICIDAE_PATH/build" . make -j4 make install cd - rm -f "$prefix/libsalticidae.a" - ln -sv "$GOPATH/src/github.com/$SALTICIDAE_ORG/salticidae-go/salticidae/libsalticidae.a" "$prefix/libsalticidae.a" + ln -sv "$SALTICIDAE_PATH/libsalticidae.a" "$prefix/libsalticidae.a" elif [[ "$OSTYPE" == "darwin"* ]]; then brew install Determinant/salticidae/salticidae else |