Add GHDL backend detection support for mcode JIT #1005
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ongoing work on the GHDL master branch to use JIT makes VUnit backend detection fail. This makes all GitHub projects that use https://github.com/ghdl/setup-ghdl-ci with VUnit in their CI fail.
This commit adapts the regular expression so it works with newer as well as older GHDL versions with the mcode backend. As for the other backends, it looks like (ghdl/ghdl@4b20cd9#diff-0dc1fb1faeb66cc2780208579bbbe6a87011ad37a31f3d84dd64ff2224111fb6R530) they should all be affected by this change in the "ghdl --version" output. Or at least the LLVM backend?
I don't have access to GHDL built with GCC or LLVM, frankly I don't know how to build them. But I know that this PR fixes the issue for mcode. Perhaps there will be error reports or PRs from other people who use GCC/LLVM in the future.