[LLVMdev] building projects/lld or projects/*

Jay Foad jay.foad at gmail.com
Wed Apr 25 02:34:29 PDT 2012


Hi,

After reading Michael Spencer's presentation on lld
(http://llvm.org/devmtg/2012-04-12/Slides/Michael_Spencer.pdf), I
thought I'd try building it myself. I created projects/lld as a
symlink to the lld source tree (is this the right approach?), but I
had some trouble getting the llvm build system to actually build it.

- a "configure"-based build only seems to know about projects/sample/
and projects/test-suite/, and I couldn't find any way to get it to
build projects/lld/.

- a CMake-based build seems to automatically pick up on new
directories in projects/, so it did (try to) build lld.

Is this how it's supposed to work? Is it an intentional difference?
It's quite confusing!

With a configure-based build, is there any way to tell it to build
projects/lld, or everything in projects/* ?

Thanks,
Jay.



More information about the llvm-dev mailing list