diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-05-12 16:27:16 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-05-15 09:12:14 -0300 |
| commit | 190c6854e9ea0290e6af0ec28ee76c4f90d57cb8 (patch) | |
| tree | 57463058f999adde64dcd9b9d5662bead5a8aae8 /scripts/patch-kernel | |
| parent | perf parse-events: Reduce scope of is_event_supported (diff) | |
| download | linux-190c6854e9ea0290e6af0ec28ee76c4f90d57cb8.tar.gz linux-190c6854e9ea0290e6af0ec28ee76c4f90d57cb8.zip | |
perf build: Don't use -ftree-loop-distribute-patterns and -gno-variable-location-views in the python feature test when building with clang-13
Using -ftree-loop-distribute-patterns and -gno-variable-location-views
in the python feature test when building with clang-16 results in:
16 80.04 clearlinux:latest : FAIL clang version 16.0.1
clang-16: error: unknown argument: '-gno-variable-location-views'
clang-16: error: unknown argument: '-gno-variable-location-views'
clang-16: error: optimization flag '-ftree-loop-distribute-patterns' is not supported [-Werror,-Wignored-optimization-argument]
clang-16: error: optimization flag '-ftree-loop-distribute-patterns' is not supported [-Werror,-Wignored-optimization-argument]
error: command '/usr/sbin/clang' failed with exit code 1
Noticed when building on a docker.io/library/clearlinux:latest container.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
