From cc7c29ec2f33afb83083b5df08634835b30129b3 Mon Sep 17 00:00:00 2001 From: Luke Hinds Date: Fri, 10 Jan 2025 19:15:11 +0000 Subject: [PATCH] Fix build for linux-aarch64 and clean up Android dupes (#160) - Switched to the correct compiler (gcc-aarch64-linux-gnu) for linux-aarch64 builds to ensure 64-bit binaries are generated. - Removed duplicate artifact upload for sqlite-vec-android-armv7a-extension in the dist job. Resolves: #159 --- .github/workflows/release.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 145068c..325d057 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,10 +58,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: sudo apt-get install gcc-arm-linux-gnueabihf + - run: sudo apt-get install gcc-aarch64-linux-gnu - run: ./scripts/vendor.sh - run: make sqlite-vec.h - - run: make CC=arm-linux-gnueabihf-gcc loadable static + - run: make CC=aarch64-linux-gnu-gcc loadable static - uses: actions/upload-artifact@v4 with: name: sqlite-vec-linux-aarch64-extension @@ -237,10 +237,6 @@ jobs: with: name: sqlite-vec-android-armv7a-extension path: dist/android-armv7a - - uses: actions/download-artifact@v4 - with: - name: sqlite-vec-android-armv7a-extension - path: dist/android-armv7a - uses: actions/download-artifact@v4 with: name: sqlite-vec-ios-aarch64-extension