View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002426 | Slicer3 | Building | public | 2012-08-22 11:45 | 2012-08-29 13:28 |
Reporter | kentwilliams | Assigned To | |||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Summary | 0002426: Can't compile with CLang on OS X | ||||
Description | Compile fails building NUMPY. The problem is that the NUMPY/numpy/distutils/system_info.py does an erroneous test on Macs to determine if they are Intel or PPC machines. Since the test is wrong it thinks any modern Intel Mac is a PPC machine and adds the -faltivec flag. GCC just ignores this flag, but CLang quits with an error if it sees it. I have a patch here: https://github.com/Chaircrusher/Slicer/tree/CLANG_Patch This simply replaces the system_info.py file with one that assumes that if it's a Mac running OS X it is not a PPC box. I don't think the next release for Slicer will support PPC macs at all so there's no reason to bother adding flags for them, especially since the test used to determine the platform CPU no longer works. | ||||
Tags | No tags attached. | ||||
What version of Xcode and c++ are you using? I have Xcode 4.3.3 on a very recent (retina) mac running Lion and I have no trouble building slicer with ITKv4, SimpleITK, numpy, etc. C++ version is as reported below. What's different for you? [80] Slicer-superbuild $ c++ --version |
|
This issue has been created within Slicer3 project whereas it suppose to be associated with Slicer4 project. An issue has been created in Slicer4 - See http://www.na-mic.org/Bug/view.php?id=2448 Steve> Make sure to monitor that new issue. Kent> When you have chance, would be great if you could reply to Steve note. Thanks for the hard work. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-22 11:45 | kentwilliams | New Issue | |
2012-08-22 12:43 | pieper | Note Added: 0005727 | |
2012-08-29 13:28 | jcfr | Note Added: 0005861 | |
2012-08-29 13:28 | jcfr | Status | new => closed |
2012-08-29 13:28 | jcfr | Resolution | open => won't fix |