diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2023-07-31 16:19:21 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-03 16:59:40 -0300 |
commit | a9b451509565d40a5ca3b41c39a2b758cdbc5355 (patch) | |
tree | f55cc660af82302b0a20199d2f0cc48f199c7f70 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e5764ae4c9714e58fa3c38a7e4900d4379dc2263 (diff) |
tools build: Add 3-component logical version comparators
The next cset needs to compare if a flex version is greater or
equal/less than another, but since there is no canonical, generally
available way to compare versions in the command line (sort -V, yeah,
but...), just use awk to canonicalize the versions like is also done in
scripts/rust_is_available.sh.
There was a problem spotted in linux-next where a bashism, here
documents, aka the '<<<' stdin redirector, for strings to be used as the
stdin for awk. Use $(shell echo | awk ...) instead.
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions