Skip to content

Commit bad7966

Browse files
committed
try env
1 parent aad5343 commit bad7966

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
CIBW_BEFORE_BUILD: |
4343
yum install -y epel-release
4444
yum install -y gcc-c++ gsl gsl-devel
45+
CIBW_ENVIRONMENT: |
46+
LIBRARY_PATH=$(gsl-config --libdir):$LIBRARY_PATH
47+
LD_LIBRARY_PATH=$(gsl-config --libdir):$LD_LIBRARY_PATH
48+
CFLAGS="$CFLAGS -I$(gsl-config --includedir)"
49+
LDFLAGS="$LDFLAGS -L$(gsl-config --libdir)"
4550
4651
- uses: actions/upload-artifact@v4
4752
with:

0 commit comments

Comments
 (0)