Merge lp:~metacollin/kicad/boosting_boost into lp:kicad/product
Status: | Rejected |
---|---|
Rejected by: | Chris Pavlina |
Proposed branch: | lp:~metacollin/kicad/boosting_boost |
Merge into: | lp:kicad/product |
Diff against target: |
250 lines (+125/-85) 1 file modified
CMakeModules/download_boost.cmake (+125/-85) |
To merge this branch: | bzr merge lp:~metacollin/kicad/boosting_boost |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Wayne Stambaugh | Disapprove | ||
Review via email: mp+248085@code.launchpad.net |
Description of the change
It's a known bug that KiCad crashes on newer OS X versions unless -DKICAD_SKIP_BOOST is enabled. Unfortunately, boost 1.57 is still not 'KiCad ready', there is still one tiny but vital patch that must be applied. If virgin boost is used, the push and shove router crashes almost immediately, due to how boost handles pointers to polygon points.
This is a one file merge/patch that will instead download and patch boost 1.57. This change applies only to OS X builds, all other platforms will not be effected.
I am very sorry for the duplicate merge proposal. I will try to be more careful in the future. I left a line of old code I wrote and commented out and, some how, lost the threading argument line for boost. I fixed that and made sure the white spaces were tidy. Sorry.
Unmerged revisions
- 5392. By metacollin
-
Fixed accidental removal of multithreading and cleaned up code white spacing.
- 5391. By metacollin
-
Readded non-apple platform code (oops).
- 5390. By metacollin
-
Merged.
- 5389. By metacollin
-
Builds a patched version of Boost 1.57.
After the next stable release, this patch will be lost. I plan on ripping out all of the custom dependency download, patch, and build code from the CMake files after the next stable. If someone needs this to build dependencies on their platform than it will have to be maintained as an external project. The complexity it has added to the project configure and build has been a major source of pain. I recommend creating a kicad-boost project that downloads, patches, and builds boost for the platforms that need it.