Ticket #34612 (closed enhancement: worksforme)
llvm-3.1 Please add --enable-shared
|Reported by:||schnetter@…||Owned by:||jeremyhu@…|
I am building pocl <https://launchpad.net/pocl>, an open-source OpenCL compiler built on llvm 3.1. pocl requires configuring llvm with the option --enable-shared, so that llvm can be called as a library from the OpenCL runtime library. In addition, llvm needs to be built with "make REQUIRES_RTTI=1". This is also described in <https://bazaar.launchpad.net/~pocl/pocl/trunk/view/head:/INSTALL>.
I currently have to build llvm and clang myself, adding these options while configuring and building. Could this be made the default? If not, could this be made into a variant?