xiw / stack

A static checker for identifying unstable code.
http://css.csail.mit.edu/stack/
Other
359 stars 56 forks source link

Bundle specific version of LLVM libraries #22

Open Constellation opened 10 years ago

Constellation commented 10 years ago

AFAIK, LLVM development is highly moving on and it's API is changing. So tools using LLVM (e.g. stack) require specific version of LLVM and building & installing required version of LLVM makes installation hard.

So I think bundling LLVM libraries to repository itself is one of the good choice. LLVM allow us to build it as static library, so it's easy to bundle it for stack.

For example, mozilla/rust compiler bundles LLVM with modification for rust[1].

What do you think of this?

Constellation commented 10 years ago

@omasanori pointed rust will upstream their patches[1]. So this example is wrong, sorry. But since current STACK requires development version of LLVM, so I think bundling specific revision of LLVM is still worthwhile for STACK.

xiw commented 10 years ago

yeah i agree. maybe llvm 3.4 would be good.

stefanbeller commented 10 years ago

I like this idea. :)

oblitum commented 10 years ago

OCLint embeds LLVM optionally too. This must be done here yes...