Skip to content

Commit

Permalink
Make sure vcpkg uses the rtools toolchain instead of windows mingw
Browse files Browse the repository at this point in the history
vcpkg doesnt detect the rtools mingw toolchain, which causes issues in the faiss
extension.
  • Loading branch information
JAicewizard committed Sep 20, 2024
1 parent 64085c8 commit 13df2dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/_extension_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,13 @@ jobs:
update-rtools: true
rtools-version: '42' # linker bug in 43

- name: setup rtools gcc for vcpkg
if: matrix.duckdb_arch == 'windows_amd64_rtools'
run: |
cp C:/rtools42/x86_64-w64-mingw32.static.posix/bin/gcc.exe C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-gcc.exe
cp C:/rtools42/x86_64-w64-mingw32.static.posix/bin/g++.exe C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-g++.exe
cp C:/rtools42/x86_64-w64-mingw32.static.posix/bin/gfortran.exe C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-gfortran.exe
- uses: actions/checkout@v3
name: Checkout Extension CI tools
if: ${{inputs.override_ci_tools_ref != ''}}
Expand Down

0 comments on commit 13df2dd

Please sign in to comment.