From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Milian Wolff <milian.wolff@kdab.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Building perf with clang
Date: Fri, 1 Apr 2016 19:16:02 -0300 [thread overview]
Message-ID: <20160401221602.GH7115@kernel.org> (raw)
In-Reply-To: <2572584.yi1Xp0m2mb@agathebauer>
Em Fri, Apr 01, 2016 at 11:19:05PM +0200, Milian Wolff escreveu:
> Hey all,
>
> I usually use clang to build my code, and have configured CC and CXX globally
> for that purpose. When I forget to unset that before I run "make" in the perf
> folder, I get into serious trouble as that is not supported at all.
>
> So, can that be fixed, either by making perf buildable with clang, or by
> enforcing GCC within the Makefile if clang is not supported? Or at least error
> out early if clang would be used?
I never tried, but I have it installed to test perf + BPF, so I'll try
it, fixing things as I go, patches welcome, as I'll start this tomorrow,
at the earliest.
- Arnaldo
next prev parent reply other threads:[~2016-04-01 22:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 21:19 Building perf with clang Milian Wolff
2016-04-01 22:16 ` Arnaldo Carvalho de Melo [this message]
2016-04-02 21:33 ` Milian Wolff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160401221602.GH7115@kernel.org \
--to=acme@kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=milian.wolff@kdab.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).