Ticket #34612 (closed enhancement: worksforme)
llvm-3.1 Please add --enable-shared
| Reported by: | schnetter@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.1 |
| Keywords: | Cc: | ||
| Port: | llvm-3.1 |
Description
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?
Change History
comment:2 Changed 12 months ago by jeremyhu@…
- Status changed from new to closed
- Resolution set to worksforme
That is how the port already is:
~/src/macports/dports/lang/llvm-3.1 $ grep RTTI Portfile build.env-append VERBOSE=1 REQUIRE_RTTI=1 destroot.env-append VERBOSE=1 REQUIRE_RTTI=1 ~/src/macports/dports/lang/llvm-3.1 $ grep shared Portfile configure.args --enable-bindings=none --enable-libffi --enable-shared --enable-jit \
Note: See
TracTickets for help on using
tickets.

