[cfe-dev] Compiling and running clangs unit tests
Milian Wolff
mail at milianw.de
Sun Jul 26 15:29:55 PDT 2015
On Monday, July 27, 2015 08:25:37 AM Nikola Smiljanic wrote:
> How did you configure? I'm a bit surprised by bulid/clang path. It looks
> like you're building Clang but not LLVM?
Yes, I'm building Clang.
I have:
~/projects/src/llvm
~/projects/src/clang
~/projects/build/llvm
~/projects/build/clang
The former two are checkouts of the release_37 branches of the corresponding
git at github.com:llvm-mirror/*.git repositories. I configured them basically
with
build/llvm$ cmake ../../src/llvm -DCMAKE_BUILD_TYPE=RelWithDebInfo -
DCMAKE_INSTALL_TYPE=$HOME/projects/compiled/llvm
and then same for clang. Everything compiles and works just fine, except for
the unit tests. And those are only compiled for me when I run `make clang-
test` manually, i.e. they are not included in the "normal" make call - is this
intended?
Or does clang not support out of source builds?
> On Sun, Jul 26, 2015 at 10:27 PM, Milian Wolff <mail at milianw.de> wrote:
> > Hey all,
> >
> > in preparation of working on clang, I want to compile and run the unit
> > tests,
> > specifically those for the clang-c part.
> >
> > I read http://clang.llvm.org/hacking.html and tried to run `make
> > clang-test`
> > in my external build folder, but that fails at link time:
> >
> > https://paste.kde.org/ptylyjsa7
> >
> > This is using the latest versions of the release_37 branches in both, LLVM
> > and
> > clang. Could someone tell me what's going wrong here?
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150727/da60ae10/attachment.sig>
More information about the cfe-dev
mailing list