diff --git a/scripts/build-linux.sh b/scripts/build-linux.sh index f520af5..ec8c3c3 100755 --- a/scripts/build-linux.sh +++ b/scripts/build-linux.sh @@ -20,14 +20,15 @@ if [ $ARCH == "x86_64" ]; then echo "CUDA is not available, skipping CUDA build" fi else - yarn clean && yarn build-native - yarn clean && yarn build-native --CDLLAMA_VULKAN=1 --CDVULKAN_SDK="$(realpath 'externals/arm64-Vulkan-SDK')" --CDVARIANT=vulkan + yarn clean && yarn build-native --CDGGML_NATIVE=OFF + yarn clean && yarn build-native --CDGGML_NATIVE=OFF --CDLLAMA_VULKAN=1 --CDVULKAN_SDK="$(realpath 'externals/arm64-Vulkan-SDK')" --CDVARIANT=vulkan # Check CUDA is available if [ -f /usr/local/cuda/bin/nvcc ]; then yarn clean && yarn build-native \ --CDLLAMA_CUDA=1 \ --CDVARIANT=cuda \ + --CDGGML_NATIVE=OFF \ --CDCMAKE_CUDA_ARCHITECTURES=87 # > Jetson Orin series else echo "CUDA is not available, skipping CUDA build"