Conversation
|
Two points here:
|
|
Good for me :-) |
|
Now the automated check (we should add the automatic review for this repo like we have for madgraph5). Thanks for this — the check itself is welcome. One remark before merging: What's already there:
There is a fourth, inline comparison at Suggested merge — one parsing core, everything else layered on top: def get_compiler_version(compiler, skip_clang=False):
"""Version of `compiler` as a tuple of int, e.g. (13, 2, 1).
None if it is not in the PATH, its version cannot be parsed, or
-- when skip_clang is True -- it is in fact clang."""
Net +51/−8 instead of +49/−0, with two fewer parallel implementations. Verified on macOS: Two related points:
|
|
thanks, all good points, I'll have a look! |
Hi, I would like to propose to check the minimum compiler version, e.g. I ran into the problem that madspace was not compiling with gcc 11 (which I knew) but thought this may be useful. Note this is only checking the major version of gcc for the time being, cheers