Skip to content

Commit cdcf106

Browse files
committed
adding cmake arguments
Signed-off-by: Nick Papior <nickpapior@gmail.com>
1 parent a161fb5 commit cdcf106

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/wheels.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,19 @@ jobs:
5353
echo "FC = $FC"
5454
echo "CFLAGS = $CFLAGS"
5555
echo "FFLAGS = $FFLAGS"
56+
echo "ARCHFLAGS = $ARCHFLAGS"
5657
5758
- name: Fixing fortran for cross-compilation
5859
uses: myci-actions/export-env-var@1
5960
with:
6061
name: FFLAGS
6162
value: $FFLAGS $ARCHFLAGS
63+
64+
- name: Fixing cmake arguments
65+
uses: myci-actions/export-env-var@1
66+
with:
67+
name: SKBUILD_CMAKE_ARGS
68+
value: -DCMAKE_Fortran_COMPILER=$FC;-DCMAKE_C_COMPILER=$CC
6269

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

0 commit comments

Comments
 (0)