Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juhp/test-ghc-make
Test behaviour of ghc compilation of a package with errors
https://github.com/juhp/test-ghc-make
Last synced: 8 days ago
JSON representation
Test behaviour of ghc compilation of a package with errors
- Host: GitHub
- URL: https://github.com/juhp/test-ghc-make
- Owner: juhp
- License: other
- Created: 2024-08-03T11:07:32.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-03T12:00:04.000Z (3 months ago)
- Last Synced: 2024-08-04T12:55:05.708Z (3 months ago)
- Language: Haskell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test-ghc-make
A toy project to test the compilation behavior with recent ghc:
- It seems until ghc 9.2, builds would stop in the first module (source file) to error.
- With ghc-9.4 and later, building seems to continue until it can proceed no longer (ie until some module requires a module that failed to compile).
## How to test
Run eg:
```
$ make GHC=ghc-9.4.8
```
and see how the behavior changes with the version:
eg 9.0.2/9.2.8 vs 9.4.8/9.6.6/9.8.2(`ghc --make` etc probably also works: the makefile just removes any build artifacts first)