You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original issue appeared when building the project feq-parse with the following configuration
Version: 0.10.0, alpha
Program: fpm(1)
Description: A Fortran package manager and build system
Home Page: https://github.com/fortran-lang/fpm
License: MIT
OS Type: Windows
The test project has a quite large number of files (170), which results in a very long command line for the final linking. On Windows, command lines are limited in size and the present build exceeds the limit. This has been tested with cmd, msys2 and powershell without any difference.
FWIW, Visual Studio creates temporary files (e.g. "RSP1.rsp") with the content of the command line and ifort is invoked as ifort @".\RSP1.rsp
Expected Behaviour
The project should build on Windows without having to split the files to 2 or more subprojects.
Windows has a hard limit of 32767 characters per command line that cannot be avoided.
I believe fpm cannot use something like rsp files, because the gfortran toolchains do not support them.
Description
The original issue appeared when building the project feq-parse with the following configuration
The test project has a quite large number of files (170), which results in a very long command line for the final linking. On Windows, command lines are limited in size and the present build exceeds the limit. This has been tested with
cmd
,msys2
andpowershell
without any difference.FWIW, Visual Studio creates temporary files (e.g. "RSP1.rsp") with the content of the command line and ifort is invoked as
ifort @".\RSP1.rsp
Expected Behaviour
The project should build on Windows without having to split the files to 2 or more subprojects.
Version of fpm
0.10.0, alpha
Platform and Architecture
Windows 10
Additional Information
The end of the build log is:
The text was updated successfully, but these errors were encountered: