#34612 closed enhancement (worksforme)
llvm-3.1 Please add --enable-shared
Reported by: | eschnett (Erik Schnetter) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
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 (3)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|
comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
You're probably just not pointing pocl to the right llvm-config. Make sure you do something like:
LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.1
Note: See
TracTickets for help on using
tickets.
That is how the port already is: