diff options
author | Wang Nan <wangnan0@huawei.com> | 2016-11-26 07:03:33 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-12-05 15:51:43 -0300 |
commit | d58ac0bf8d1e6ffbfcb0a77e459cf4737b131b75 (patch) | |
tree | 827335ed9305db043e3faab82222e77348e90266 /tools/perf/tests/make | |
parent | c7fb4f62e2a97bd25d555263ef501fe053edcbb6 (diff) | |
download | linux-d58ac0bf8d1e6ffbfcb0a77e459cf4737b131b75.tar.bz2 |
perf build: Add clang and llvm compile and linking support
Add necessary c++ flags and link libraries to support builtin clang and
LLVM. Add all llvm and clang libraries, so don't need to worry about
clang changes its libraries setting. However, linking perf would take
much longer than usual.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Joe Stringer <joe@ovn.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/20161126070354.141764-10-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/make')
-rw-r--r-- | tools/perf/tests/make | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make index 08ed7f12cc37..aa49b6600d1f 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make @@ -83,6 +83,7 @@ make_no_libbpf := NO_LIBBPF=1 make_no_libcrypto := NO_LIBCRYPTO=1 make_with_babeltrace:= LIBBABELTRACE=1 make_no_sdt := NO_SDT=1 +make_with_clangllvm := LIBCLANGLLVM=1 make_tags := tags make_cscope := cscope make_help := help @@ -139,6 +140,7 @@ run += make_no_libbionic run += make_no_auxtrace run += make_no_libbpf run += make_with_babeltrace +run += make_with_clangllvm run += make_help run += make_doc run += make_perf_o |