On 2018/02/15 11:19, Brian Callahan wrote: > > On 02/15/18 10:02, Jonathan Gray wrote: > > Build libLLVM.so and link tools with it. > > > > This seems to be the way almost all Linux distributions and BSDs > > ship LLVM and is what Mesa expects. > > > > Use the documented cmake var for RTTI while here. > > Any reason not to use the SHARED_LIBS facility of ports for libLLVM, like > libclang and libLTO already do in the LLVM port?
agreed, it's a bit non-obvious that it might be needed because unlike other build systems (which normally use a default value if not passed via SHARED_LIBS) the way we've got cmake setup it just skips the library version in that case..