Opened 15 years ago
Last modified 15 years ago
#22299 closed update
LLVM 2.6 Portfile — at Initial Version
Reported by: | shawjef3@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | llvm | Cc: | |
Port: | llvm |
Description
Pure won't compile for powerpc without llvm 2.6, but the current llvm port is 2.5. I changed the llvm Portfile to install version 2.6 and it seems to work. I tested it a bit with pure. The diff files didn't seem to need changing.
added --disable-assertions and --disable-expensive-checks per
http://trac.macports.org/ticket/21173 http://trac.macports.org/ticket/21174 http://code.google.com/p/pure-lang/issues/detail?id=9
--enable-pic is the default for 2.6, so to remain consistent with the 2.5 port I added --disable-pic, and then the pic variant removes --disable-pic.
I also wanted to add a host_only variant since compiling support for the various architectures (e.g., alpha) can waste time and space. A universal variant for x86,x86_64, and PowerPC could be useful.
I've never made a Portfile before, so all I know to change is the version numbers and file hashes, and I made sure that the diff files still applied.
llvm 2.6 portfile