]> Git Repo - linux.git/commitdiff
tools: Bump minimum LLVM C++ std to GNU++14
authorIan Rogers <[email protected]>
Tue, 12 Oct 2021 02:13:20 +0000 (19:13 -0700)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 4 Nov 2021 12:31:30 +0000 (09:31 -0300)
LLVM 9 (current release is LLVM 13) moved the minimum C++ version to
GNU++14. Bump the version numbers in the feature test and perf build.

Reviewed-by: Fangrui Song <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sedat Dilek <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/build/feature/Makefile
tools/perf/Makefile.config

index 71390309f4d751f0bc40b82bed9be4765880ca1f..0a3244ad967307cef0793d4f8df46eae96e48bd0 100644 (file)
@@ -300,7 +300,7 @@ $(OUTPUT)test-jvmti-cmlr.bin:
        $(BUILD)
 
 $(OUTPUT)test-llvm.bin:
-       $(BUILDXX) -std=gnu++11                                 \
+       $(BUILDXX) -std=gnu++14                                 \
                -I$(shell $(LLVM_CONFIG) --includedir)          \
                -L$(shell $(LLVM_CONFIG) --libdir)              \
                $(shell $(LLVM_CONFIG) --libs Core BPF)         \
@@ -308,12 +308,12 @@ $(OUTPUT)test-llvm.bin:
                > $(@:.bin=.make.output) 2>&1
 
 $(OUTPUT)test-llvm-version.bin:
-       $(BUILDXX) -std=gnu++11                                 \
+       $(BUILDXX) -std=gnu++14                                 \
                -I$(shell $(LLVM_CONFIG) --includedir)          \
                > $(@:.bin=.make.output) 2>&1
 
 $(OUTPUT)test-clang.bin:
-       $(BUILDXX) -std=gnu++11                                 \
+       $(BUILDXX) -std=gnu++14                                 \
                -I$(shell $(LLVM_CONFIG) --includedir)          \
                -L$(shell $(LLVM_CONFIG) --libdir)              \
                -Wl,--start-group -lclangBasic -lclangDriver    \
index 4a9baed28f2eb36cc071e67dbaca1ad4ebf45103..07e65a061fd3a13b3863346dc5d641e0a0480cc4 100644 (file)
@@ -285,7 +285,7 @@ CORE_CFLAGS += -Wall
 CORE_CFLAGS += -Wextra
 CORE_CFLAGS += -std=gnu99
 
-CXXFLAGS += -std=gnu++11 -fno-exceptions -fno-rtti
+CXXFLAGS += -std=gnu++14 -fno-exceptions -fno-rtti
 CXXFLAGS += -Wall
 CXXFLAGS += -fno-omit-frame-pointer
 CXXFLAGS += -ggdb3
This page took 0.053694 seconds and 4 git commands to generate.