Skip to content

Commit 24f371a

Browse files
committed
CI: msys2-mingw-w64: disable netCDF because of CMake issue with netCDF 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) ```
1 parent b2068ed commit 24f371a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cmake_builds.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,12 @@ jobs:
324324
msystem: MINGW64
325325
update: true
326326
# Disable mingw-w64-x86_64-crypto++ as it crashes at runtime on eedai_3 test. Likely a build issue with crypto++ itself
327+
# Disable mingw-w64-x86_64-netcdf because of https://github.com/msys2/MINGW-packages/commit/58330521730cc42db21b0f2472884a4d72a1847a#commitcomment-152309674
327328
install: |
328329
base-devel git mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ccache
329330
mingw-w64-x86_64-pcre mingw-w64-x86_64-xerces-c mingw-w64-x86_64-zstd mingw-w64-x86_64-libarchive
330331
mingw-w64-x86_64-geos mingw-w64-x86_64-libspatialite mingw-w64-x86_64-proj
331-
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
332+
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
332333
mingw-w64-x86_64-libgeotiff mingw-w64-x86_64-libpng mingw-w64-x86_64-libtiff mingw-w64-x86_64-openjpeg2
333334
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
334335
- name: Setup cache

0 commit comments

Comments
 (0)