Skip to content

Commit

Permalink
Update build_wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbolliet authored Sep 29, 2024
1 parent 3b1310a commit cdfa562
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,31 @@ jobs:
LD_LIBRARY_PATH: "/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
run: |
# Check GSL library and include files
if [ ! -f /usr/lib/x86_64-linux-gnu/libgsl.so ]; then
if [ -f /usr/lib/x86_64-linux-gnu/libgsl.so ]; then
echo "GSL library found in /usr/lib/x86_64-linux-gnu/"
else
echo "GSL library not found in /usr/lib/x86_64-linux-gnu/"; exit 1;
fi
if [ ! -f /usr/include/gsl/gsl_sf_bessel.h ]; then
if [ -f /usr/include/gsl/gsl_sf_bessel.h ]; then
echo "GSL include files found in /usr/include/gsl/"
else
echo "GSL include files not found in /usr/include/gsl/"; exit 1;
fi
# Check FFTW library and include files
if [ ! -f /usr/lib/x86_64-linux-gnu/libfftw3.so ]; then
if [ -f /usr/lib/x86_64-linux-gnu/libfftw3.so ]; then
echo "FFTW library found in /usr/lib/x86_64-linux-gnu/"
else
echo "FFTW library not found in /usr/lib/x86_64-linux-gnu/"; exit 1;
fi
if [ ! -f /usr/include/fftw3.h ]; then
if [ -f /usr/include/fftw3.h ]; then
echo "FFTW include files found in /usr/include/"
else
echo "FFTW include files not found in /usr/include/"; exit 1;
fi
python -m cibuildwheel --output-dir wheelhouse
- name: Install dependencies on macOS
Expand Down

0 comments on commit cdfa562

Please sign in to comment.