Opened 13 years ago
Closed 13 years ago
#35825 closed enhancement (fixed)
llvm-3.1: add +pic variant
| Reported by: | gorticus (Jason Mitchell) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | pic | Cc: | |
| Port: | llvm-3.1 |
Description
LLVM 3.1 requires position independent code (--enable-pic) for llvm-py (numba).
It seems older LLVM (2.4) had this variant (ticket:17268), but it does not appear in the current LLVM Portfiles. Perhaps it should be part of the default configure.args?
Attachments (1)
Change History (8)
Changed 13 years ago by gorticus (Jason Mitchell)
| Attachment: | Portfile.diff added |
|---|
comment:1 Changed 13 years ago by gorticus (Jason Mitchell)
Doh! Maybe should've done this on clang-3.1 (too?) rather than just llmv-3.1, so configure.compiler macports-clang-3.1 could be set in my py-llvm portfile. Thoughts?
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | changed from macports-tickets@… to jeremyhu@… |
|---|---|
| Summary: | llvm 3.1 port enhancement: +pic variant → llvm-3.1: add +pic variant |
comment:3 follow-up: 4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Sounds reasonable. I think this should probably be just always on.
comment:4 Changed 13 years ago by gorticus (Jason Mitchell)
Replying to jeremyhu@…:
Sounds reasonable. I think this should probably be just always on.
How about for clang too? In one test config, I successfully used numba with clang-3.1.
comment:7 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
r97623 for 3.2
Note: See
TracTickets for help on using
tickets.

llvm-3.1 +pic variant