The cmake in the windows runner image uses Visual Studio by default, therefore cannot use the Fortran compiler without an additional Intel component
The above might be easily fixed by specifying the generator explicitly -G "MinGW Makefiles", however scikit-build doesn't support this generator yet
On the basis of above, I tried to set up everything with MSYS2, but ran into the following error while installing scipy so installed python in MinGW:
ERROR: This python3 seems to be msys/python on MSYS2 Windows, but you are in a MinGW environment
ERROR: Please install and use mingw-w64-x86_64-python3 and/or mingw-w64-x86_64-meson with Pacman
After installing the MinGW python, it fails to find Python.h while installing numpy and suggested to install python-dev or python-devel. There is a python-devel in MSYS2 but maybe it isn't compatible with the MinGW python, so it doesn't find the header file even though I've installed python-devel.
Not going to spend more time on testing with Windows. Will move on to container support.
Not working due to
Python.h
not found.In summary, here are the lessons learned:
cmake
in the windows runner image uses Visual Studio by default, therefore cannot use the Fortran compiler without an additional Intel component-G "MinGW Makefiles"
, howeverscikit-build
doesn't support this generator yetscipy
so installedpython
in MinGW:python
, it fails to findPython.h
while installingnumpy
and suggested to installpython-dev
orpython-devel
. There is apython-devel
in MSYS2 but maybe it isn't compatible with the MinGWpython
, so it doesn't find the header file even though I've installedpython-devel
.Not going to spend more time on testing with Windows. Will move on to container support.