[llvm-dev] New LLVM backend Target: compile procedure
Daniel Sanders via llvm-dev
llvm-dev at lists.llvm.org
Thu Oct 1 06:06:42 PDT 2015
> > I expect i'll make have many issues/fixes to iterate over when
> > modifying the files for my newTarget. Given, the build takes a long time, is
> > there a way to do this faster ? Already been waiting 20mins for it to
> > finish.
There was a lightning talk at EuroLLVM about speeding up the build process. The slides and recording can be found at http://llvm.org/devmtg/2015-04/, look for 'Building Clang/LLVM efficiently'.
The talk goes into more detail but one of the bigger things you can do in the cmake build is set BUILD_SHARED_LIBS to ON.
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Sundaran Narayanan via llvm-dev
Sent: 30 September 2015 19:47
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] New LLVM backend Target: compile procedure
I'm trying to get familiar with the LLVM build procedure when adding a new Target.
In the main source tree, i copied the lib/Target/MSP430 as lib/Target/newUC and renamed all the files. Further i edited the different files like Triple.h, Triple.cpp, LLVMBuild.txt, CMakeLists.txt, CallingConv.h to take in this new Target.
Then i deleted the files under the current build/ and started the LLVM build process anew.
Is all of this the right way to go about this ?
I expect i'll make have many issues/fixes to iterate over when modifying the files for my newTarget. Given, the build takes a long time, is there a way to do this faster ? Already been waiting 20mins for it to finish.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev