Opened 12 years ago
Closed 11 years ago
#36681 closed enhancement (fixed)
llvm-3.2 should also build polly in tools subdirectory
Reported by: | howarth@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | llvm-3.2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The llvm-3.2 release will officially support polly...
http://llvm.org/docs/ReleaseNotes.html
It would be helpful to add polly support to the existing llvm-3.2 package as it will allow debugging of http://llvm.org/bugs/show_bug.cgi?id=14140 by the Apple programmers.
The instructions for building polly under llvm are at http://polly.llvm.org/get_started.html and will require an isl and cloog-isl package as well as gmp. As I mentioned before in the gcc48 tickets MacPorts really should provide isl/cloog-isl because ppl/cloog-ppl support is deprecated now in FSF gcc trunk.I would also note that Polly does work in llvm-3.2 under clang by using...
/sw/opt/llvm-3.2/bin/clang -Xclang -load -Xclang /sw/opt/llvm-3.2/lib/LLVMPolly.so -O3 -mllvm -polly himenoBMTxpa.c
Change History (5)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to jeremyhu@… |
comment:2 Changed 12 years ago by howarth@…
comment:3 Changed 12 years ago by howarth@…
Polly support will require that the isl and cloog packages be updated to the git head versions of those packages.
I was only able to build the llvm polly support under fink against isl 0.10.0 and cloog 0.17.0 because of a cmake
configuration flaw which is now fixed in polly svn. Fortunately the soversions for both isl and cloog are unchanged
and gcc48 still builds against isl/cloog git head without new regressions in the graphite testsuite.
The 'make polly-test' results look reasonable with only three darwin specific regressions.
http://llvm.org/bugs/show_bug.cgi?id=14142
It may be essential to provide the Apple programmers with prebuilt llvm-3.2/dragonegg-3.2 packages in order to
allow http://llvm.org/bugs/show_bug.cgi?id=14140 to be properly debugged. I fear we may have tickled a linker or dyld
bug with dragonegg.so loading LLVMPolly.so.
comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
r115579 adds a +polly variant to the llvm-3.4 and llvm-3.5 ports.
Note that a fix for http://llvm.org/bugs/show_bug.cgi?id=14135 has been proposed...
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-October/054710.html
and should be checked in shortly so that 'make polly-test' will function on darwin.