[llvm] r192316 - llvm-c: Make target initializer functions external functions in lib.

Anders Waldenborg anders at 0x63.nu
Mon Oct 14 13:43:43 PDT 2013


On Sun, Oct 13, 2013 at 08:36:28PM -0400, Rafael EspĂ­ndola wrote:
> On 10 October 2013 16:48, Anders Waldenborg <anders at 0x63.nu> wrote:
> > On Thu, Oct 10, 2013 at 08:59:11AM +0200, Anders Waldenborg wrote:
> >> I'll try to implement Benjamin's sublibrary suggestion and see how
> >> nasty it becomes.
> >
> > Something like attached patch? Would that work?
> 
> Maybe. Can you try building with cmake and shared libraries?

Yes. building worked fine (linux amd64 ubuntu). But "make check"
failed when doing -DBUILD_SHARED_LIBS=1, but it failed also without my
patch. Also tried building on mingw32 using autoconf, and that also
built.

Locally I have renamed the new library to "AllTargetsBindings", as
"AllTargets" meant that it was named "alltargets" in llvm-config,
which probably is a bit to close to the "all-targets".

 anders



More information about the llvm-commits mailing list