-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1089 from durack1/issue423_durack1_FixVacummDepen…
…dencies Issue423 durack1 fix vacumm dependencies
- Loading branch information
Showing
8 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
set(configobj_deps ${python_pkg} ${six_pkg} ${setuptools_pkg}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# configobj | ||
# | ||
set(configobj_source_dir "${CMAKE_CURRENT_BINARY_DIR}/build/configobj") | ||
|
||
configure_file( | ||
"${cdat_CMAKE_SOURCE_DIR}/cdat_modules_extra/configobj_build_step.cmake.in" | ||
"${cdat_CMAKE_BINARY_DIR}/configobj_build_step.cmake" | ||
@ONLY | ||
) | ||
|
||
set(configobj_build_command ${CMAKE_COMMAND} -P ${cdat_CMAKE_BINARY_DIR}/configobj_build_step.cmake) | ||
|
||
ExternalProject_Add(configobj | ||
DOWNLOAD_DIR ${CDAT_PACKAGE_CACHE_DIR} | ||
SOURCE_DIR ${configobj_source_dir} | ||
URL ${CONFIGOBJ_URL}/${CONFIGOBJ_GZ} | ||
URL_MD5 ${CONFIGOBJ_MD5} | ||
BUILD_IN_SOURCE 1 | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND ${configobj_build_command} | ||
INSTALL_COMMAND "" | ||
DEPENDS ${configobj_deps} | ||
${ep_log_options} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
set( CONFIGOBJ_MAJOR 5 ) | ||
set( CONFIGOBJ_MINOR 0 ) | ||
set( CONFIGOBJ_PATCH 6 ) | ||
set( CONFIGOBJ_VERSION ${CONFIGOBJ_MAJOR}.${CONFIGOBJ_MINOR}.${CONFIGOBJ_PATCH} ) | ||
set( CONFIGOBJ_URL ${LLNL_URL} ) | ||
set( CONFIGOBJ_GZ configobj-${CONFIGOBJ_VERSION}.tar.gz ) | ||
set( CONFIGOBJ_MD5 e472a3a1c2a67bb0ec9b5d54c13a47d6 ) | ||
|
||
set (nm CONFIGOBJ) | ||
string(TOUPPER ${nm} uc_nm) | ||
set(${uc_nm}_VERSION ${${nm}_MAJOR}.${${nm}_MINOR}.${${nm}_PATCH}) | ||
set(CONFIGOBJ_SOURCE ${CONFIGOBJ_URL}/${CONFIGOBJ_GZ}) | ||
|
||
if (CDAT_BUILD_ALL) | ||
add_cdat_package(configobj "" "" ON) | ||
else() | ||
add_cdat_package(configobj "" "" OFF) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
set(SIX_MAJOR_SRC 1) | ||
set(SIX_MINOR_SRC 7) | ||
set(SIX_PATCH_SRC 2) | ||
set(SIX_MINOR_SRC 9) | ||
set(SIX_PATCH_SRC 0) | ||
|
||
set(SIX_VERSION ${SIX_MAJOR_SRC}.${SIX_MINOR_SRC}.${SIX_PATCH_SRC}) | ||
set(SIX_GZ six-${SIX_VERSION}.tar.gz) | ||
set(SIX_SOURCE ${LLNL_URL}/${SIX_GZ}) | ||
set(SIX_MD5 4c26276583b01dfc73474cb32327af91) | ||
set(SIX_MD5 476881ef4012262dfc8adc645ee786c4) | ||
|
||
add_cdat_package_dependent(SIX "" "" ON "CDAT_BUILD_LEAN" OFF) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
set(vacumm_deps ${python_pkg} ${numpy_pkg} ${scipy_pkg} ${matplotlib_pkg} ${basemap_pkg} ${configobj_pkg} ${setuptools_pkg}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
set( VACUMM_MAJOR 2 ) | ||
set( VACUMM_MINOR 5 ) | ||
set( VACUMM_PATCH 1-svn1807 ) | ||
set( VACUMM_VERSION ${VACUMM_MAJOR}.${VACUMM_MINOR}.${VACUMM_PATCH} ) | ||
set( VACUMM_URL ${LLNL_URL} ) | ||
set( VACUMM_GZ vacumm-${VACUMM_VERSION}.tar.gz ) | ||
set( VACUMM_MD5 9da3f6c29a86e29c0e6e3799fd9ef378 ) | ||
|
||
set (nm VACUMM) | ||
string(TOUPPER ${nm} uc_nm) | ||
set(${uc_nm}_VERSION ${${nm}_MAJOR}.${${nm}_MINOR}.${${nm}_PATCH}) | ||
set(VACUMM_SOURCE ${VACUMM_URL}/${VACUMM_GZ}) | ||
|
||
if (CDAT_BUILD_ALL) | ||
add_cdat_package(vacumm "" "" ON) | ||
else() | ||
add_cdat_package(vacumm "" "" OFF) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include(@cdat_CMAKE_BINARY_DIR@/cdat_common_environment.cmake) | ||
|
||
execute_process( | ||
COMMAND "@PYTHON_EXECUTABLE@" setup.py install @PYTHON_EXTRA_PREFIX@ | ||
WORKING_DIRECTORY "@configobj_source_dir@" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters