Skip to content

Commit

Permalink
CI: msys2-mingw-w64: disable netCDF because of CMake issue with netCD…
Browse files Browse the repository at this point in the history
…F 4.9.3

Cf msys2/MINGW-packages@5833052#commitcomment-152309674

The update to netCDF 4.9.3 breaks building GDAL against netCDF.
Cf https://github.com/OSGeo/gdal/actions/runs/13217070591/job/36897548259?pr=11819 :
```
 CMake Error at D:/a/_temp/msys64/mingw64/lib/cmake/netCDF/netCDFConfig.cmake:15 (message):
  File or directory /mingw64 referenced by variable netCDF_INSTALL_PREFIX
  does not exist !
Call Stack (most recent call first):
  D:/a/_temp/msys64/mingw64/lib/cmake/netCDF/netCDFConfig.cmake:32 (set_and_check)
  cmake/helpers/CheckDependentLibrariesCommon.cmake:141 (find_package)
  cmake/helpers/CheckDependentLibraries.cmake:408 (gdal_check_package)
  gdal.cmake:76 (include)
  CMakeLists.txt:264 (include)
```
  • Loading branch information
rouault committed Feb 8, 2025
1 parent b2068ed commit 24f371a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cmake_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,12 @@ jobs:
msystem: MINGW64
update: true
# Disable mingw-w64-x86_64-crypto++ as it crashes at runtime on eedai_3 test. Likely a build issue with crypto++ itself
# Disable mingw-w64-x86_64-netcdf because of https://github.com/msys2/MINGW-packages/commit/58330521730cc42db21b0f2472884a4d72a1847a#commitcomment-152309674
install: |
base-devel git mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ccache
mingw-w64-x86_64-pcre mingw-w64-x86_64-xerces-c mingw-w64-x86_64-zstd mingw-w64-x86_64-libarchive
mingw-w64-x86_64-geos mingw-w64-x86_64-libspatialite mingw-w64-x86_64-proj
mingw-w64-x86_64-cgal mingw-w64-x86_64-libfreexl mingw-w64-x86_64-hdf5 mingw-w64-x86_64-muparser mingw-w64-x86_64-netcdf mingw-w64-x86_64-poppler mingw-w64-x86_64-podofo mingw-w64-x86_64-postgresql
mingw-w64-x86_64-cgal mingw-w64-x86_64-libfreexl mingw-w64-x86_64-hdf5 mingw-w64-x86_64-muparser mingw-w64-x86_64-poppler mingw-w64-x86_64-podofo mingw-w64-x86_64-postgresql
mingw-w64-x86_64-libgeotiff mingw-w64-x86_64-libpng mingw-w64-x86_64-libtiff mingw-w64-x86_64-openjpeg2
mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-numpy mingw-w64-x86_64-python-pytest mingw-w64-x86_64-python-setuptools mingw-w64-x86_64-python-lxml mingw-w64-x86_64-swig mingw-w64-x86_64-python-psutil mingw-w64-x86_64-blosc mingw-w64-x86_64-libavif
- name: Setup cache
Expand Down

0 comments on commit 24f371a

Please sign in to comment.