Open certik opened 8 months ago
To move forward, I would disable the Intel test until it is fixed. Not much we can do anyway, since we need to move on and be able to develop fpm.
The CI line failing says <ERROR>:failed command ifort
, I think it is because ubuntu images on Github do not ship ifort anymore. It should self-fix after merge (like you point out in #976, the fpm
main branch was already updated to use ifx instead of ifort).
More context is found on Fortran Discourse and Intel Compiler Forum.
So far the most likely explanation is that there is a compiler bug in ifx
, and that we'll have to wait until it is fixed in an upcoming release.
The proposed fix in #879 is to always build fpm with gfortran, then only build the test programs with ifx
.
Linked issue (including a potential workaround): https://github.com/fortran-lang/fpm/issues/1014
This has been a long standing issue affecting many PRs.
The first attempt to fix it was https://github.com/fortran-lang/fpm/pull/976.
Here is a related discussion at Fortran Discourse: https://fortran-lang.discourse.group/t/issue-with-stdlib-and-intel-oneapi-fortran-compiler-ifx-2024-0/7049
It is possible that the Intel CI failure is somehow related to the bug https://github.com/fortran-lang/fpm/issues/980.
This is affecting the PR https://github.com/fortran-lang/fpm/pull/879 that we need to merge.