Skip to content

Commit

Permalink
Merge pull request #59 from JAicewizard/fix_compiler_passing
Browse files Browse the repository at this point in the history
Pass the compilers using CMAKE_XXX_COMPILER instead of XXX env variable
  • Loading branch information
samansmink authored Aug 27, 2024
2 parents f699471 + aa77bd4 commit 9d5363c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/_extension_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ jobs:
- name: Build extension
env:
GEN: ninja
CC: ${{ matrix.duckdb_arch == 'linux_arm64' && 'aarch64-linux-gnu-gcc' || '' }}
CXX: ${{ matrix.duckdb_arch == 'linux_arm64' && 'aarch64-linux-gnu-g++' || '' }}
TOOLCHAIN_FLAGS: ${{ matrix.duckdb_arch == 'linux_arm64' && '-DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_Fortran_COMPILER=aarch64-linux-gnu-gfortran' || '' }}
DUCKDB_PLATFORM: ${{ matrix.duckdb_arch }}
run: |
make release
Expand Down

0 comments on commit 9d5363c

Please sign in to comment.