Skip to content

Commit

Permalink
adding cmake arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Sep 19, 2023
1 parent a161fb5 commit cdcf106
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,19 @@ jobs:
echo "FC = $FC"
echo "CFLAGS = $CFLAGS"
echo "FFLAGS = $FFLAGS"
echo "ARCHFLAGS = $ARCHFLAGS"
- name: Fixing fortran for cross-compilation
uses: myci-actions/export-env-var@1
with:
name: FFLAGS
value: $FFLAGS $ARCHFLAGS

- name: Fixing cmake arguments
uses: myci-actions/export-env-var@1
with:
name: SKBUILD_CMAKE_ARGS
value: -DCMAKE_Fortran_COMPILER=$FC;-DCMAKE_C_COMPILER=$CC

# We use the cibuildwheel action to take care of everything
- name: Build wheels
Expand Down

0 comments on commit cdcf106

Please sign in to comment.