-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Haskell fpm cannot build stdlib #11
Comments
@everythingfunctional Do you have any pointers on what is throwing up the Haskell version here? |
Does stdlib have source files that don't have a program, module or submodule? The error is coming from this line, which is at the end of an if-else chain. The Haskell model of a project assumes that each file contains one (and only one) program, module or submodule. It could be extended to allow for files that contain multiple (or even no) programs, modules and/or submodules, but if the Fortran version works I don't feel much urgency in actually doing it given how close we are to being able to have fpm no longer relying on it (i.e. fortran-lang/fpm#253). I could be persuaded if there is a good reason to do so. |
Apologies, I think this is due to an empty source file |
Okay not quite fixed, there's another issue :-/ |
Okay, so the second problem is that Edit: I've added a patch to |
@LKedward Thanks for working around these issues. Should any of those changes get upstreamed to stdlib? |
Perhaps the instance of |
Trying to use stdlib (https://github.com/LKedward/stdlib-fpm at commit
eadc8ad5eaf182adee04f1bd31624ad19b9eaf2c
) for fpm yields the following error in Haskell fpm:This is a major blocker for using stdlib in Fortran fpm.
The text was updated successfully, but these errors were encountered: