From 5ac34d1654dca3d64e1346a5e9e07b3c0e256876 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Thu, 11 Jul 2024 22:49:00 -0700 Subject: [PATCH] re-roder patching --- .github/workflows/test.yaml | 7 +++---- bindings/go/ncruces/go-sqlite3.patch | 3 --- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5fe1d62..1b4c664 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -98,15 +98,14 @@ jobs: with: repository: ncruces/go-sqlite3 path: go-sqlite3 - - run: .github/workflows/repro.sh - working-directory: go-sqlite3/ - run: git apply ../bindings/go/ncruces/go-sqlite3.patch working-directory: go-sqlite3/ - - run: ./scripts/vendor.sh + - run: .github/workflows/repro.sh + working-directory: go-sqlite3/ - uses: actions/upload-artifact@v4 with: name: sqlite-vec-ncruces-go - path: dist/* + path: go-sqlite3/embed/sqlite3.wasm build-cosmopolitan: runs-on: macos-latest steps: diff --git a/bindings/go/ncruces/go-sqlite3.patch b/bindings/go/ncruces/go-sqlite3.patch index f9d070f..8cf2282 100644 --- a/bindings/go/ncruces/go-sqlite3.patch +++ b/bindings/go/ncruces/go-sqlite3.patch @@ -10,9 +10,6 @@ index 36183bb..d202a26 100755 -DSQLITE_CUSTOM_INCLUDE=sqlite_opt.h \ $(awk '{print "-Wl,--export="$0}' exports.txt) -diff --git a/embed/sqlite3.wasm b/embed/sqlite3.wasm -index 569f0b3..b1d9693 100755 -Binary files a/embed/sqlite3.wasm and b/embed/sqlite3.wasm differ diff --git a/sqlite3/main.c b/sqlite3/main.c index 4fb926b..49a9ee9 100644 --- a/sqlite3/main.c