Open bapthorpe opened 1 month ago
Also from README.md
:
To build the Fortran standard library you need
- a Fortran 2008 compliant compiler, or better, a Fortran 2018 compliant compiler
(GCC Fortran and Intel Fortran compilers are known to work for stdlib)
- CMake version 3.14 or newer (alternatively Make can be used)
- a build backend for CMake, like Make or Ninja (the latter is recommended on Windows)
- the [fypp](https://github.com/aradi/fypp) preprocessor (used as meta-programming tool)
If we can isolate which feature is tripping up ifx
, we can see if it falls under F2008 or later. If it's a F2008 feature, it may not be worth addressing because the compiler doesn't meet requirements. If it's a later feature, it should either be downgraded or requirements should be updated.
I understand that the Windows/Intel platform is difficult to test due to the cost and availability of the compiler. Hopefully this is an easily fixed edge case.
Description
stdlib-0.7.0 fails to build using
ifx
(Windows/Intel) intest-drive/main.f90
(?) withSteps to reproduce:
stdlib-0.7.0.zip
cd .\stdlib
)setvars.bat
)cmake -S . -B build -G Ninja
cd build
)ninja
It's not clear which language feature is not supported by this version of
ifx
. Likewise, it's also not clear where to findtest-drive
ormain.f90
in the source tree (I can find it in thebuild
tree but that doesn't help if I need to modify the code for debugging...)Reconfiguring with
cmake -B build -S . -G Ninja -DBUILD_TESTING:Bool=OFF
leads to a different error so bypassing tests doesn't help. This is the first error encountered in a minimal reference release build.Expected Behaviour
The same code (
stdlib-0.7.0.tar.gz
) builds cleanly on RHEL 8.8 withifx
Version 2022.2.0 Build 20220730. This might be resolved by upgrading the compiler but this is on a work machine so I'm at the mercy of what our IT staff provides.Version of stdlib
v0.7.0 release
Platform and Architecture
Windows x64
Additional Information