Add GHDL backend detection support for mcode JIT#1005
Conversation
d1f3a0d to
98bc1b1
Compare
|
@LukasVik, as far as I understand, this is just a change in a hardcoded string that is printed by With regard to having this modification tested with other backends, do not worry about it because it's done in CI (at least LLVM). Since it's green, that means that your changes did not break anything. |
98bc1b1 to
db00f5c
Compare
|
@umarcor Yes, when I wrote "add support" I was only referring to the backend detection regexp. I've updated the commit message and PR title to be more clear. |
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.