Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
0b8129b
six: Added six, which provides access to utilities in a compatible wa…
jakirkham Apr 22, 2014
706fa8a
pytz: Provides support for timezone definitions. Required by Matplotlib.
jakirkham Apr 22, 2014
275865c
python-dateutil: Added dateutil for Python. Provides support for date…
jakirkham Apr 22, 2014
ad1fa45
pyparsing: Added pyparsing. Provides a Python implementation of a par…
jakirkham Apr 22, 2014
a296d31
backports-ssl_match_hostname: Added backports-ssl_match_hostname. Pro…
jakirkham Apr 22, 2014
97f0a5a
tornado: Added tornado, which is a web framework and asynchronous net…
jakirkham Apr 22, 2014
0086fe0
matplotlib: Missing various dependencies, which now have their own cm…
jakirkham Apr 22, 2014
19605aa
matplotlib: Added PyQt4 as a dependency as Matplotlib should use the …
jakirkham Apr 22, 2014
68b4ee0
sphinx: Added sphinx. Generates nice documentation from docstrings.
jakirkham Apr 22, 2014
3f1d2c9
readline: Added a cmake to build and install the right readline for M…
jakirkham Apr 22, 2014
8f9a397
zeromq: Added zeromq. Provides an asynchronous message passing implem…
jakirkham Apr 22, 2014
2b968f1
nose: Added comment to reflect iPython dependency.
jakirkham Apr 22, 2014
9462b7f
pygments: Added. Provides syntax highlighting support in Python. Used…
jakirkham Apr 22, 2014
7427e7c
jinja: Added comment to reflect iPython dependency.
jakirkham Apr 22, 2014
d3e9bfa
ipython: Added iPython and dependencies. This includes install readli…
jakirkham Apr 22, 2014
beb32d2
patsy: Uses a mini-language for formulae in a way similar to R/S. Use…
jakirkham Apr 22, 2014
f54dd62
numexpr: An acceleration library for use with NumPy.
jakirkham Apr 22, 2014
b6b19bc
bottleneck: Added bottleneck, which speeds up some corner cases with …
jakirkham Apr 22, 2014
5dcabac
pandas: Data analysis library. Part of SciPy stack. Used in particula…
jakirkham Apr 22, 2014
8914e34
statsmodels: Builds on pandas ( actually depends on it as well ). Pro…
jakirkham Apr 22, 2014
6804156
mpc: Added mpc, which is commonly used in conjunction with gmp and mp…
jakirkham Apr 22, 2014
7b0a32c
gmpy: Provides Python bindings to gmp, mpfr, and mpc. In short, allow…
jakirkham Apr 22, 2014
d2188be
sympy: Provides support for symbolic on top of numeric calculations. …
jakirkham Apr 22, 2014
251ec6f
sympy: Corrected comment.
jakirkham Apr 22, 2014
d1161f6
pep8: Added. Provides support for PEP8.
jakirkham Apr 22, 2014
9ddd88c
pyflakes: A passive Python analyzer and error detector. Used by Spyder.
jakirkham Apr 22, 2014
9695aad
pylint: Python analyzer and error detector. Also, checks for bad smel…
jakirkham Apr 22, 2014
8f9f3b1
rope: Added to provide refactoring support for Python. Used by Spyder.
jakirkham Apr 22, 2014
b2c16b4
spyder: Added Spyder. However, it currently is broken. Until WebKit i…
jakirkham Apr 22, 2014
6e6fc71
scipy-stack: Provides a custom target for installing the full SciPy s…
jakirkham Apr 22, 2014
c5fd53a
gmp: Add / after url.
jakirkham Apr 22, 2014
cc1a6a6
pylint: Add / after url.
jakirkham Apr 22, 2014
e7f691d
python-dateutil: Add / after URL.
jakirkham Apr 22, 2014
53c7ee4
spyder: Add / after URL.
jakirkham Apr 22, 2014
72fc1fb
mpfr: Link used for downloading mpfr no longer works. Added a new on…
jakirkham Apr 22, 2014
afe3fac
scipy-stack: Fixed a variable not being set correctly.
jakirkham Apr 23, 2014
a4d5559
openblas: Replaced head by working commit. Removed TARGET specificati…
jakirkham Apr 23, 2014
476ab11
README_openblas: Added more details about default TARGET (NEHALEM) an…
jakirkham Apr 23, 2014
f99da5a
vtk: Forced manual reference counting as garbage collection is deprec…
jakirkham Apr 23, 2014
5f0ad7c
vtk: Added note about VTK 5 not supporting automatic reference counting.
jakirkham Apr 23, 2014
964434c
joblib: Provided a separate cmake for joblib. Tested and it works. Th…
jakirkham May 27, 2014
2e085b0
Updated scikit-image to 0.9.3
jakirkham May 27, 2014
8713ca7
python: Fails on Mavericks when multithreaded. Forced to be single th…
jakirkham May 30, 2014
128ac7f
futures: Apparently, the futures package is being used by tiling.py i…
jakirkham Jun 22, 2014
39782c7
sqlite: Created a cmake for sqlite. This is expected by Python to cre…
jakirkham Jul 7, 2014
b03d569
scipy-stack: Changed all arguments to add_custom_target to be use NAM…
jakirkham Jul 8, 2014
d2b6f6f
scipy-stack: Changed from using add_custom_target to ExternalProject_…
jakirkham Jul 8, 2014
0586012
scipy-stack: Made sure to exclude it from the all target. Also, added…
jakirkham Jul 8, 2014
8b67672
h5py: Updated version to 2.3.1.
jakirkham Jul 16, 2014
df779bb
julia: Added julia as a build target. Currently, it builds its own de…
jakirkham Aug 2, 2014
c034dcc
julia: Updated title description.
jakirkham Aug 3, 2014
a441f6c
updates openssl package to work on Fedora 20
Aug 19, 2014
b1db86a
pip.cmake: Added pip for installing Python packages.
jakirkham Aug 21, 2014
b2675b3
readline.cmake: Added a patch to ensure readline is installed in the …
jakirkham Aug 30, 2014
682865e
readline.cmake: Renamed to python-readline.cmake.
jakirkham Aug 30, 2014
986b167
readline.cmake: Added readline to build from source.
jakirkham Aug 30, 2014
f881969
readline.cmake: Added patch step for all patches from ( ftp://ftp.gnu…
jakirkham Aug 30, 2014
9bbbed2
python.cmake: Removed readline fix for Mac OS as it is no longer nece…
jakirkham Aug 30, 2014
a8573a7
python-readline.cmake: Removed python-readline as building readline m…
jakirkham Aug 30, 2014
cd0a055
pyzmq.cmake: Requires Cython to build.
jakirkham Aug 31, 2014
67e7ff1
spams-python: Created a cmake to install SPAMS with Python bindings. …
jakirkham Jul 10, 2014
83e3723
Added jsonschema.cmake
stuarteberg Apr 4, 2014
22933fa
ilastik.cmake: Changed remote url to ilastik/ilastik-meta, not janeli…
stuarteberg Mar 17, 2014
630b156
ilastik.cmake: Added a new dependency: jsonschema
stuarteberg Apr 4, 2014
3782754
ilastik.cmake: Require opengm
stuarteberg Apr 9, 2014
1c034a9
Added futures.cmake (python futures module backported from Python 3)
stuarteberg May 27, 2014
adb5748
ilastik.cmake: Updated default ilastik checkout sha
stuarteberg Jun 10, 2014
648a6b5
updates sha for ilastik.cmake
Jun 11, 2014
9200745
opengm.cmake: Compile with hdf5, boost, and python
stuarteberg Mar 31, 2014
b8df931
opengm: Build without CPLEX if it can't be found.
stuarteberg Apr 9, 2014
f35f498
opengm: Added a patch to let us skip the sphinx docs build with a cma…
stuarteberg May 28, 2014
3807a12
openblas.cmake: Added an additional step for installing links. Previo…
jakirkham Aug 31, 2014
2f6fec5
spams-python.cmake: Updated to pass environment variable namely BUILD…
jakirkham Aug 31, 2014
5c26b77
ilastik.cmake: Added scikit-image as dependency.
jakirkham Aug 31, 2014
35e38fa
ilastik.cmake: Added qimage2ndarray as a dependency.
jakirkham Sep 23, 2014
405611a
templates/exec.template: Added template to construct exec.sh, which a…
jakirkham Sep 23, 2014
cb32191
boost.cmake: Upgraded version of Boost.
jakirkham Sep 23, 2014
e26a373
boost.cmake: Added libboost_container to the boost_LIBS build list.
jakirkham Oct 11, 2014
23e892e
vigra.cmake: Added Boost_INCLUDE_DIR to vigra's CMake variables.
jakirkham Oct 11, 2014
2dfd619
vigra.cmake: Changed Python library path to start with PYTHON_PREFIX …
jakirkham Oct 11, 2014
93f9eb2
vigra.cmake: Added the library libboost_container to the vigra CMake …
jakirkham Oct 11, 2014
db8de65
Update psutil to fix https://github.com/ilastik/ilastik/issues/891
chaubold May 22, 2014
14ac04b
vigra.cmake: Eliminated extra spaces.
jakirkham Oct 22, 2014
67784af
opencv.cmake: Changed order of includes to match the depends list.
jakirkham Nov 21, 2014
63d5dc5
opencv.cmake: Added missing dependencies to OpenCV.
jakirkham Nov 21, 2014
160ef46
opencv.cmake: Specified paths to python and its includes for configur…
jakirkham Nov 21, 2014
a8e72e8
geos.cmake: Added geo, which is a dependency of shapely.
jakirkham Oct 22, 2014
0e59d03
patches/geos-CoordinateArraySequenceFactoryTest.cpp.patch: Patches a …
jakirkham Nov 21, 2014
b191d6c
geos.cmake: Added a patch to geos to bypass a broken test.
jakirkham Nov 21, 2014
8ad76fa
shapely.cmake: Added shapely, which is a dependency of sima.
jakirkham Oct 22, 2014
b48579b
ffmpeg.cmake: Added ffmpeg, which is required for animations in matpl…
jakirkham Nov 21, 2014
001e231
opencv.cmake: Added FFmpeg as a dependency of OpenCV and provided pro…
jakirkham Nov 21, 2014
e9db38d
opencv.cmake: Update OpenCV version as sima requires 2.4.8 at a minimum.
jakirkham Nov 21, 2014
7a518cd
sima.cmake: Added sima, which is a tool for "analysis of time-series …
jakirkham Oct 22, 2014
f029dfd
patches/sima-extract.py.patch: Use non-sparse inv from SciPy as our v…
jakirkham Nov 21, 2014
48a6829
sima.cmake: Added patches to SIMA to relax OpenCV version constraints…
jakirkham Nov 21, 2014
931c173
patches/sima-motion.py.patch: Corrected to use nanmean from SciPy.
jakirkham Dec 12, 2014
72bb7ce
sima.cmake: Apply sima-motion.py.patch.
jakirkham Dec 12, 2014
8d7f558
rank_filter.cmake: Provide support for building the Python module ran…
jakirkham Dec 12, 2014
f7166fb
templates/exec.template: Make exec.template an executable. This way, …
jakirkham Dec 15, 2014
123ddbe
ilastik.cmake: Update the ilastik version.
jakirkham Dec 18, 2014
66f5314
nanshe.cmake: Adds nanshe to the src directory just like ilastik. Doe…
jakirkham Jan 6, 2015
9ee3036
templates/setenv_ilastik_gui.in: Add nanshe to the PYTHONPATH as well.
jakirkham Jan 6, 2015
1aad659
templates/setenv_ilastik_headless.in: Add nanshe to the PYTHONPATH as…
jakirkham Jan 6, 2015
4ab53a7
hdf5storage.cmake: Adds additional support for the HDF5 format in Pyt…
jakirkham Jan 10, 2015
4707213
templates/exec.template: Cleaned up comments.
jakirkham Jan 10, 2015
f7bd096
templates/exec.template: Removed quotes as they were unnecessary and …
jakirkham Jan 10, 2015
047d484
gmpy.cmake: Use PyPI for downloads instead of their Google Code page.
jakirkham Jan 14, 2015
e6879c2
gmpy.cmake: Turn off FORCE as the archive is already in the cache.
jakirkham Jan 14, 2015
2e89bb6
gmpy.cmake: Bump version from 2.0.3 to 2.0.5.
jakirkham Jan 14, 2015
170cdef
ipython.cmake: Add newline at EOF.
jakirkham Jan 14, 2015
720f72f
ann.cmake: Add terminal /.
jakirkham Jan 14, 2015
9a127a4
ann.cmake: Turn off FORCE as it is already in downloads.
jakirkham Jan 14, 2015
0a74b0a
dlib.cmake: Turn off FORCE as it is already in downloads.
jakirkham Jan 15, 2015
1ec962a
libxml2.cmake: Turn off FORCE as it is already in downloads.
jakirkham Jan 15, 2015
19fd88e
psutil.cmake: Turn off FORCE as it is already in downloads.
jakirkham Jan 15, 2015
307dcfa
matplotlib.cmake: Bump version to 1.4.2.
jakirkham Jan 15, 2015
b7879f0
ipython.cmake: Bump version from 1.2.1 to 2.1.0.
jakirkham Jan 15, 2015
ca333c9
opencv.cmake: Correct spacing.
jakirkham Jan 15, 2015
b2f8382
python-markdown.cmake: Markdown parser for Python.
jakirkham Jan 15, 2015
7a3c6fb
ipython.cmake: Correct spacing.
jakirkham Jan 15, 2015
830ffbb
ipython.cmake: Make python-markdown a dependency.
jakirkham Jan 15, 2015
228eb73
pylibtiff.cmake: Added pylibtiff to provide Python bindings to libtiff.
jakirkham Jan 20, 2015
7d054be
cloud_sptheme.cmake: Added cloud theme. A theme for Sphinx.
jakirkham Jan 23, 2015
d181e3a
nanshe.cmake: Add cloud_sptheme as a dependency.
jakirkham Jan 23, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README_openblas.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
If you are having trouble building OpenBLAS out of the box, you may need to specify your CPU Architecture.
Common architecture options include SandyBridge and Haswell. Even if your build worked correctly, it may
not be optimal. The default architecture, if not specified, is Nehalem, which is probably not the ideal
choice unless using an older computer.

To specify the architecture simply use the TARGET flag. For example, TARGET=SANDYBRIDGE will build for
the SandyBridge architecture. Similarly, TARGET=HASWELL will target the Haswell (or Crystalwell)
architecture(s). To do this simply modify the BUILD_COMMAND to include this flag ____after____ the call
to $(MAKE) as it must be an argument to make. It is recommend the same be done for the INSTALL_COMMAND
as well.

More information can be found on the OpenBLAS GitHub webpage ( https://github.com/xianyi/OpenBLAS/ ). A list
of architectures supported can be found here ( https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt ).
Note that at the time of writing this READNME, the list has not been updated in about a year; so, it does not
list HASWELL even though it is supported by the version we are using.
3 changes: 1 addition & 2 deletions ann.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ external_source (ann
1.1.2
ann_1.1.2.tar.gz
7ffaacc7ea79ca39d4958a6378071365
http://www.cs.umd.edu/~mount/ANN/Files/1.1.2
FORCE)
http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/)

message ("Installing ${ann_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${ann_NAME}
Expand Down
37 changes: 37 additions & 0 deletions backports-ssl_match_hostname.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Provides match_hostname from Python 3 for Python 2.
# Required by tornado.

if (NOT backports-ssl_match_hostname_NAME)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include (ExternalProject)
include (ExternalSource)
include (BuildSupport)


include (python)

external_source(backports-ssl_match_hostname
3.4.0.2
backports.ssl_match_hostname-3.4.0.2.tar.gz
788214f20214c64631f0859dc79f23c6
https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/)

message ("Installing ${backports-ssl_match_hostname_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${backports-ssl_match_hostname_NAME}
DEPENDS ${python_NAME}
PREFIX ${BUILDEM_DIR}
URL ${backports-ssl_match_hostname_URL}
URL_MD5 ${backports-ssl_match_hostname_MD5}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py build
BUILD_IN_SOURCE 1
INSTALL_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py install
)

set_target_properties(${backports-ssl_match_hostname_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)

endif (NOT backports-ssl_match_hostname_NAME)
13 changes: 7 additions & 6 deletions boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ set (boost_INCLUDE_DIR ${BUILDEM_INCLUDE_DIR}/boost)
include_directories (${boost_INCLUDE_DIR})

external_source (boost
1_51_0
boost_1_51_0.tar.gz
6a1f32d902203ac70fbec78af95b3cf8
http://downloads.sourceforge.net/project/boost/boost/1.51.0)
1_56_0
boost_1_56_0.tar.bz2
a744cf167b05d72335f27c88115f211d
http://hivelocity.dl.sourceforge.net/project/boost/boost/1.56.0)

set (boost_LIBS ${BUILDEM_LIB_DIR}/libboost_thread.${BUILDEM_PLATFORM_DYLIB_EXTENSION}
set (boost_LIBS ${BUILDEM_LIB_DIR}/libboost_container.${BUILDEM_PLATFORM_DYLIB_EXTENSION}
${BUILDEM_LIB_DIR}/libboost_thread.${BUILDEM_PLATFORM_DYLIB_EXTENSION}
${BUILDEM_LIB_DIR}/libboost_system.${BUILDEM_PLATFORM_DYLIB_EXTENSION}
${BUILDEM_LIB_DIR}/libboost_program_options.${BUILDEM_PLATFORM_DYLIB_EXTENSION}
${BUILDEM_LIB_DIR}/libboost_python.${BUILDEM_PLATFORM_DYLIB_EXTENSION}
Expand All @@ -42,7 +43,7 @@ ExternalProject_Add(${boost_NAME}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ${BUILDEM_ENV_STRING} ./bootstrap.sh
--with-libraries=date_time,filesystem,python,regex,serialization,system,test,thread,program_options,chrono
--with-libraries=container,date_time,filesystem,python,regex,serialization,system,test,thread,program_options,chrono
--with-python=${PYTHON_EXE}
--prefix=${BUILDEM_DIR}
BUILD_COMMAND ${BUILDEM_ENV_STRING} ./b2
Expand Down
41 changes: 41 additions & 0 deletions bottleneck.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Provides functions to deal with nan in NumPy arrays efficiently.
#
# Required by pandas.


if (NOT bottleneck_NAME)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include (ExternalProject)
include (ExternalSource)
include (BuildSupport)
include (TemplateSupport)

include (python)
include (numpy)
include (scipy)
include (nose)

external_git_repo(bottleneck
v0.7.0 #4042977fa716f127a2074de011b9ef84caf2e965
https://github.com/kwgoodman/bottleneck)

message ("Installing ${bottleneck_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${bottleneck_NAME}
DEPENDS ${python_NAME} ${numpy_NAME} ${scipy_NAME} ${nose_NAME}
PREFIX ${BUILDEM_DIR}
GIT_REPOSITORY ${bottleneck_URL}
GIT_TAG ${bottleneck_TAG}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py build
BUILD_IN_SOURCE 1
TEST_COMMAND ""
INSTALL_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py install
)

set_target_properties(${bottleneck_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)

endif (NOT bottleneck_NAME)
40 changes: 40 additions & 0 deletions cloud_sptheme.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#
# Install cloud_sptheme from source. Provides theme for Sphinx.
#

if (NOT cloud_sptheme_NAME)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include (ExternalProject)
include (ExternalSource)
include (BuildSupport)
include (TemplateSupport)

include (python)
include (sphinx)

external_source (cloud_sptheme
1.6
cloud_sptheme-1.6.tar.gz
23d5fce0b87836d9f29573d6ee6a9bc1
https://pypi.python.org/packages/source/c/cloud_sptheme/)

message ("Installing ${cloud_sptheme_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${cloud_sptheme_NAME}
DEPENDS ${python_NAME} ${sphinx_NAME}
PREFIX ${BUILDEM_DIR}
URL ${cloud_sptheme_URL}
URL_MD5 ${cloud_sptheme_MD5}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py build
BUILD_IN_SOURCE 1
TEST_COMMAND ""
INSTALL_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py install
)

set_target_properties(${cloud_sptheme_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)

endif (NOT cloud_sptheme_NAME)
3 changes: 1 addition & 2 deletions dlib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ external_source (dlib
18.3
dlib-18.3.tar.bz2
1ad26ec7bddccf8a605e1edfd0620c65
http://downloads.sourceforge.net/project/dclib/dlib/v18.3
FORCE)
http://downloads.sourceforge.net/project/dclib/dlib/v18.3)

message ("Installing ${dlib_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${dlib_NAME}
Expand Down
39 changes: 39 additions & 0 deletions ffmpeg.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#
# Install ffmpeg from source.
# Provides support for audio and video.
#

if (NOT ffmpeg_NAME)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include (ExternalProject)
include (ExternalSource)
include (BuildSupport)

external_source (ffmpeg
2.4.3
ffmpeg-2.4.3.tar.bz2
8da635baff57d7ab704b1daca5a99b47
http://www.ffmpeg.org/releases/
FORCE)

message ("Installing ${ffmpeg_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${ffmpeg_NAME}
PREFIX ${BUILDEM_DIR}
URL ${ffmpeg_URL}
URL_MD5 ${ffmpeg_MD5}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ${BUILDEM_ENV_STRING} ${ffmpeg_SRC_DIR}/configure
--prefix=${BUILDEM_DIR}
--disable-yasm
BUILD_COMMAND ${BUILDEM_ENV_STRING} $(MAKE)
BUILD_IN_SOURCE 1
TEST_COMMAND ${BUILDEM_ENV_STRING} $(MAKE) check
INSTALL_COMMAND ${BUILDEM_ENV_STRING} $(MAKE) install
)

set_target_properties(${ffmpeg_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)

endif (NOT ffmpeg_NAME)
41 changes: 41 additions & 0 deletions futures.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#
# Install futures library from source
#

if (NOT futures_NAME)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include (ExternalProject)
include (ExternalSource)
include (BuildSupport)

include (python)
include (setuptools)

external_source (futures
2.1.6
futures-2.1.6.tar.gz
cfab9ac3cd55d6c7ddd0546a9f22f453
https://pypi.python.org/packages/source/f/futures)

message ("Installing ${futures_NAME} into ilastik build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${futures_NAME}
DEPENDS ${python_NAME} ${setuptools_NAME}
PREFIX ${BUILDEM_DIR}
URL ${futures_URL}
URL_MD5 ${futures_MD5}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py install
BUILD_IN_SOURCE 1
TEST_COMMAND ""
INSTALL_COMMAND ""
)

set_target_properties(${futures_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)


endif (NOT futures_NAME)

51 changes: 51 additions & 0 deletions geos.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#
# Install geos from source.
# Provides an open source geometry engine.
#

if (NOT geos_NAME)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include (ExternalProject)
include (ExternalSource)
include (BuildSupport)

external_source (geos
3.4.2
geos-3.4.2.tar.bz2
fc5df2d926eb7e67f988a43a92683bae
http://download.osgeo.org/geos/)


# if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# set (GEOS_ENABLE_MACOSX_FRAMEWORK ON)
# set (GEOS_ENABLE_MACOSX_FRAMEWORK_UNIXCOMPAT ON)
# else()
# set (GEOS_ENABLE_MACOSX_FRAMEWORK OFF)
# endif()


message ("Installing ${geos_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${geos_NAME}
DEPENDS
PREFIX ${BUILDEM_DIR}
URL ${geos_URL}
URL_MD5 ${geos_MD5}
UPDATE_COMMAND ""
PATCH_COMMAND ${BUILDEM_ENV_STRING} ${PATCH_EXE}
# Turns off test that is known failure on Mac and that does not appear to be fixed ( http://trac.osgeo.org/geos/ticket/299 ).
${geos_SRC_DIR}/tests/unit/geom/CoordinateArraySequenceFactoryTest.cpp ${PATCH_DIR}/geos-CoordinateArraySequenceFactoryTest.cpp.patch
CONFIGURE_COMMAND ${BUILDEM_ENV_STRING} ${geos_SRC_DIR}/configure
--prefix=${BUILDEM_DIR}
"LDFLAGS=${BUILDEM_LDFLAGS} ${BUILDEM_ADDITIONAL_CXX_FLAGS}"
"CPPFLAGS=-I${BUILDEM_DIR}/include ${BUILDEM_ADDITIONAL_CXX_FLAGS}"
BUILD_COMMAND ${BUILDEM_ENV_STRING} $(MAKE)
BUILD_IN_SOURCE 1
TEST_COMMAND ${BUILDEM_ENV_STRING} $(MAKE) check
INSTALL_COMMAND ${BUILDEM_ENV_STRING} $(MAKE) install
)

set_target_properties(${geos_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)

endif (NOT geos_NAME)
2 changes: 1 addition & 1 deletion gmp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ external_source (gmp
5.0.5
gmp-5.0.5.tar.bz2
041487d25e9c230b0c42b106361055fe
ftp://ftp.gnu.org/gnu/gmp)
ftp://ftp.gnu.org/gnu/gmp/)

message ("Installing ${gmp_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${gmp_NAME}
Expand Down
45 changes: 45 additions & 0 deletions gmpy.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Python bindings to the very versatile, established gmp, mpfr, and mpc.
#
# Used by SymPy. Though, can be used independently.


if (NOT gmpy_NAME)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include (ExternalProject)
include (ExternalSource)
include (BuildSupport)
include (TemplateSupport)

include (python)
include (gmp)
include (mpfr)
include (mpc)


external_source (gmpy
2.0.5
gmpy2-2.0.5.zip
95f008bcab6372164358123f43e3f490
http://pypi.python.org/packages/source/g/gmpy2/)


message ("Installing ${gmpy_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${gmpy_NAME}
DEPENDS ${python_NAME} ${gmp_NAME} ${mpfr_NAME} ${mpc_NAME}
PREFIX ${BUILDEM_DIR}
URL ${gmpy_URL}
URL_MD5 ${gmpy_MD5}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py build --prefix=${BUILDEM_DIR}
BUILD_IN_SOURCE 1
TEST_COMMAND ""
INSTALL_COMMAND ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py install --prefix=${BUILDEM_DIR}
)

set_target_properties(${gmpy_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)

endif (NOT gmpy_NAME)
8 changes: 4 additions & 4 deletions h5py.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ include (hdf5)
include (numpy)

external_source (h5py
2.1.3
h5py-2.1.3.tar.gz
afd3c14f763339e186dd9cd24eb2eb74
http://h5py.googlecode.com/files)
2.3.1
h5py-2.3.1.tar.gz
8f32f96d653e904d20f9f910c6d9dd91
https://pypi.python.org/packages/source/h/h5py)

message ("Installing ${h5py_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${h5py_NAME}
Expand Down
Loading