Opened 12 years ago

Closed 12 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)

Portfile.diff (423 bytes) - added by gorticus (Jason Mitchell) 12 years ago.
llvm-3.1 +pic variant

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by gorticus (Jason Mitchell)

Attachment: Portfile.diff added

llvm-3.1 +pic variant

comment:1 Changed 12 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 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jeremyhu@…
Summary: llvm 3.1 port enhancement: +pic variantllvm-3.1: add +pic variant

comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Sounds reasonable. I think this should probably be just always on.

comment:4 in reply to:  3 Changed 12 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:5 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

r97620 for 3.0 and 3.1

comment:6 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

r97621 for 2.9

comment:7 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

r97623 for 3.2

Note: See TracTickets for help on using tickets.