Conversation
…to handle flags and path-flags.
…ler flags to support path-specific flags. Compute the hast as crc of the combined string (and not by adding three crc for three strings).
… used for ignore lists when converting DEPENDS dependencies to file dependencies.
…Fortran when searching for a default linker.
…313_unify_flag_handling
…and made git's code quality and flake unhappy.
|
This PR adds a set of classes to manage Flags. It allows one FlagList to be used everywhere, which can be a mixture of generic flags (that always apply) and path-specific flags. I have NOT changed the API of Fab itself, most steps take two flag lists (common flags and path flags). If we agree to change the API all these two arguments can be replaced with a single FlagList. Internally, the path flags are converted to the new MatchFlags, and all handling internally is with FlagList. @yaswant , @MatthewHambley , @Pierre-siddall, @t00sa , @cameronbateman-mo I did see the automatic comment that I am not calling the super class - the super class is an abstract class that has no implementation of init, and if I add , I get flake8 errors (this is already commented and closed, but it just got raised again). Let me know what I should do there :) |
… site-specific flags to PSyclone.
|
@yaswant , @MatthewHambley , @Pierre-siddall, @t00sa , @cameronbateman-mo , this has still not been assigned. Given the breaking lfric builds atm (ultimately because of a intel compiler bug which can't handle a specific OMP continuation line created by a new transmuation script), I have added a small change to also allow One question:
My feeling is that the maintainers here prefer to be as strict as possible, so that's what I implemented. I personally would prefer one of "somewhat relaxed" or "more relaxed" :) |
This is getting reasonable stable, but it's currently blocked by #502 (which I need for kernel extraction in gungho). I will also verify that this works as expected with the UMm