Opened 9 years ago
Closed 9 years ago
#49241 closed enhancement (fixed)
llvm-gcc42: build against clang compilers on darwin15
Reported by: | howarth.at.macports@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | |
Port: | llvm-gcc42 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The attached Portfile.diff adds the changes required to build against the Apple clang 7.0 compiler and older. This include...
- Adding a clang-optimization.patch to use #pragma clang optimize off/#pragma clang optimize on to avoid optimization bugs in compiling two subroutines under Apple Clang 6.0 or later.
- Use of reinplace to avoid passing -module and -no-undefined under the clang compiler
- Removal of the clang compiler blacklist and the section preventing builds on El Capitan
Tested on darwin15.
Attachments (2)
Change History (4)
Changed 9 years ago by howarth.at.macports@…
Attachment: | Portfile.diff added |
---|
Changed 9 years ago by howarth.at.macports@…
Attachment: | clang-optimization.patch added |
---|
patch to avoid optimization errors in Apple Clang 6.0 or later
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu@… removed |
---|---|
Description: | modified (diff) |
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to jeremyhu@… |
Summary: | fix llvm-gcc42 to build against clang compilers on darwin15 → llvm-gcc42: build against clang compilers on darwin15 |
Type: | defect → enhancement |
comment:2 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Portfile diff to build against the clang compilers