Skip to content

Commit

Permalink
Merge branch 'master' into vtk-update-leak
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 authored Jun 21, 2016
2 parents 4f07961 + 3cf4518 commit 8147172
Show file tree
Hide file tree
Showing 755 changed files with 185 additions and 67,712 deletions.
25 changes: 15 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@ os:
- linux
- osx

language: c++
language: python
- "2.7"

before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; sudo apt-get install -y gfortran; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pushd $HOME && mkdir cmake3.1 && cd cmake3.1 && (curl -L "http://cmake.org/files/v3.1/cmake-3.1.0-Linux-x86_64.tar.gz" | gunzip -c | tar x) && cd cmake-*/bin && export PATH="${PWD}:${PATH}"; popd; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update ; brew outdated cmake || brew upgrade cmake ; fi
- cmake --version
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; sudo apt-get install -y gfortran xvfb; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget https://github.com/UV-CDAT/uvcdat/releases/download/v2.4.1/gfortran-4.9.2-Mac.tar.gz -O ~/gfortran-4.9.2-Mac.tar.gz ; pushd / ; sudo tar xzvf ~/gfortran-4.9.2-Mac.tar.gz ; pushd ; fi
- export PATH="$HOME/miniconda/bin:$PATH"
- bash miniconda.sh -b -p $HOME/miniconda
- conda config --set always_yes yes --set changeps1 no
- conda update -y -q conda
- conda install openssl=1.0.2d

script:
- git submodule init
- git submodule update
- cd ..
- mkdir _build
- cd _build
- cmake -DGIT_PROTOCOL=git:// -DCDAT_BUILD_MODE=LEAN -DCDAT_BUILD_GRAPHICS=ON -DCDAT_BUILD_SCIPY=OFF ../uvcdat
- ctest -VV -S ../uvcdat/CMake/travis_build.cmake
- ctest -VV -S ../uvcdat/CMake/travis_submit.cmake
- cmake -DGIT_PROTOCOL=git:// ../uvcdat
- make
- ctest -j8 -D Experimental
33 changes: 0 additions & 33 deletions CMake/ESMP.patch

This file was deleted.

1 change: 0 additions & 1 deletion CMake/cdat_modules/basemap_deps.cmake

This file was deleted.

39 changes: 0 additions & 39 deletions CMake/cdat_modules/basemap_external.cmake

This file was deleted.

10 changes: 0 additions & 10 deletions CMake/cdat_modules/basemap_pkg.cmake

This file was deleted.

1 change: 0 additions & 1 deletion CMake/cdat_modules/cairo_deps.cmake

This file was deleted.

18 changes: 0 additions & 18 deletions CMake/cdat_modules/cairo_external.cmake

This file was deleted.

14 changes: 0 additions & 14 deletions CMake/cdat_modules/cairo_pkg.cmake

This file was deleted.

1 change: 0 additions & 1 deletion CMake/cdat_modules/cd77_deps.cmake

This file was deleted.

16 changes: 0 additions & 16 deletions CMake/cdat_modules/cd77_external.cmake

This file was deleted.

13 changes: 0 additions & 13 deletions CMake/cdat_modules/cd77_pkg.cmake

This file was deleted.

17 changes: 1 addition & 16 deletions CMake/cdat_modules/cdat_deps.cmake
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
set(CDAT_deps ${wget_pkg} ${python_pkg} ${numpy_pkg}
${libcdms_pkg}
${libcf_pkg} ${netcdf_pkg} ${myproxyclient_pkg} ${udunits2_pkg})
if (CDAT_BUILD_GRAPHICS)
if (CDAT_BUILD_PARAVIEW)
list(APPEND CDAT_deps ${paraview_pkg})
else()
list(APPEND CDAT_deps ${vtk_pkg})
endif()
list(APPEND CDAT_deps ${ffmpeg_pkg})
endif()

if (CDAT_BUILD_ESMF)
list(APPEND CDAT_deps ${esmf_pkg})
endif()

set(CDAT_deps)
15 changes: 1 addition & 14 deletions CMake/cdat_modules/cdat_external.cmake
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
set(CDAT_source "${cdat_SOURCE_DIR}")

set(RUNTIME_FLAGS ${cdat_EXTERNALS}/lib)
set(LDFLAGS -L${cdat_EXTERNALS}/lib)

if (CDAT_BUILD_LIBDRS)
set(cdat_xtra_flags "${cdat_xtra_flags} --enable-drs")
endif()

set(cdat_build_dir ${CMAKE_CURRENT_BINARY_DIR}/cdat-build)

set(WORKING_DIR "${cdat_CMAKE_BINARY_DIR}")
configure_file(${cdat_CMAKE_SOURCE_DIR}/cdat_modules_extra/cdat_python_install_step.cmake.in
${cdat_CMAKE_BINARY_DIR}/cdat_python_install_step.cmake
@ONLY)

ExternalProject_Add(CDAT
DOWNLOAD_DIR ""
Expand All @@ -22,7 +9,7 @@ ExternalProject_Add(CDAT
PATCH_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND env "PYTHONPATH=$ENV{PYTHONPATH}" ${CMAKE_COMMAND} -DPYTHON_INSTALL_ARGS=${cdat_xtra_flags} -P ${cdat_CMAKE_BINARY_DIR}/cdat_python_install_step.cmake
INSTALL_COMMAND ${cdat_CMAKE_BINARY_DIR}/install_cdat_from_conda.bash
DEPENDS ${CDAT_deps}
${ep_log_options}
)
3 changes: 1 addition & 2 deletions CMake/cdat_modules/cdat_pkg.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(cdat_VERSION_MAJOR 2)
set(cdat_VERSION_MINOR 2)
set(cdat_VERSION_MINOR 6)
set(cdat_VERSION_PATCH 0)
set(cdat_VERSION ${cdat_VERSION_MAJOR}.${cdat_VERSION_MINOR}.${cdat_VERSION_PATCH})

Expand Down Expand Up @@ -30,6 +30,5 @@ configure_file(${cdat_CMAKE_SOURCE_DIR}/cdat_modules_extra/version.in
${cdat_BINARY_DIR}/version
@ONLY
)

add_cdat_package(CDAT "" "" ON)

2 changes: 0 additions & 2 deletions CMake/cdat_modules/cdatlogger_deps.cmake

This file was deleted.

16 changes: 0 additions & 16 deletions CMake/cdat_modules/cdatlogger_external.cmake

This file was deleted.

4 changes: 0 additions & 4 deletions CMake/cdat_modules/cdatlogger_pkg.cmake

This file was deleted.

1 change: 0 additions & 1 deletion CMake/cdat_modules/cffi_deps.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions CMake/cdat_modules/cffi_external.cmake

This file was deleted.

10 changes: 0 additions & 10 deletions CMake/cdat_modules/cffi_pkg.cmake

This file was deleted.

1 change: 0 additions & 1 deletion CMake/cdat_modules/clapack_deps.cmake

This file was deleted.

39 changes: 0 additions & 39 deletions CMake/cdat_modules/clapack_external.cmake

This file was deleted.

15 changes: 0 additions & 15 deletions CMake/cdat_modules/clapack_pkg.cmake

This file was deleted.

1 change: 0 additions & 1 deletion CMake/cdat_modules/click_deps.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions CMake/cdat_modules/click_external.cmake

This file was deleted.

13 changes: 0 additions & 13 deletions CMake/cdat_modules/click_pkg.cmake

This file was deleted.

1 change: 0 additions & 1 deletion CMake/cdat_modules/cligj_deps.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions CMake/cdat_modules/cligj_external.cmake

This file was deleted.

Loading

0 comments on commit 8147172

Please sign in to comment.