vmtk / conda-recipes

Conda recipes for vmtk
BSD 2-Clause "Simplified" License
1 stars 4 forks source link

Build variants and conda-build compiler #6

Closed rlizzo closed 6 years ago

rlizzo commented 6 years ago

Using the build variant feature of conda-build 3.0+ (as well as compiler support) we can speed up the process of building the library and make it architecture independent.

The c and c++ compilers provided by anaconda are used on MacOS and Linux, and (once we finish building on windows) it will handle the build specifications. In order to allow for this, a few cmake parameters had to be tweaked (see PR https://github.com/vmtk/vmtk/pull/207).

For MacOS, the MacOSX10.9-SDK has to be available on the system path (currently set to /opt/MacOSX10.9.sdk). It can be downloaded from https://github.com/phracker/MacOSX-SDKs.

Benefits of the system include:

this is a work in progress. need to document and ensure everything works before moving forward.

rlizzo commented 6 years ago

Now reference https://github.com/vmtk/vmtk/pull/209

rlizzo commented 6 years ago

These changes are ready to be merged to master. merging now.