View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002448 | Slicer4 | Core: Building (CMake, Superbuild) | public | 2012-08-29 13:21 | 2012-12-08 07:12 |
Reporter | kentwilliams | Assigned To | hjmjohnson | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0002448: 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. | ||||
Note from Steve Pieper - 08-22-2012: 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 is resolved in current svn release of Slicer. |
|
Seems there is a bug in CMake preventing from linking against Qt. Since I didn't install a "regular" gcc on this machine, I couldn't check if it compile specific. |
|
After Kent's patches were applied, this works without issue. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-29 13:21 | jcfr | New Issue | |
2012-08-29 13:21 | jcfr | Status | new => assigned |
2012-08-29 13:21 | jcfr | Assigned To | => jcfr |
2012-08-29 13:22 | jcfr | Reporter | jcfr => kentwilliams |
2012-08-29 13:22 | jcfr | Assigned To | jcfr => |
2012-08-29 13:22 | jcfr | Target Version | => Slicer 4.3.0 |
2012-08-29 13:23 | jcfr | Note Added: 0005860 | |
2012-08-29 13:28 | jcfr | Status | assigned => feedback |
2012-11-29 11:10 | hjmjohnson | Status | feedback => assigned |
2012-11-29 11:10 | hjmjohnson | Assigned To | => hjmjohnson |
2012-11-29 11:34 | hjmjohnson | Resolution | open => fixed |
2012-11-29 11:36 | hjmjohnson | Note Added: 0007381 | |
2012-11-29 11:36 | hjmjohnson | Status | assigned => resolved |
2012-11-29 11:36 | hjmjohnson | Fixed in Version | => Slicer 4.3.0 |
2012-11-30 10:03 | jcfr | Note Added: 0007389 | |
2012-11-30 10:03 | jcfr | Status | resolved => assigned |
2012-12-08 07:12 | hjmjohnson | Note Added: 0007473 | |
2012-12-08 07:12 | hjmjohnson | Status | assigned => resolved |
2012-12-08 07:12 | hjmjohnson | Status | resolved => closed |