Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda build #2015

Merged
merged 35 commits into from
Jun 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f29a6d1
first pass, bare bones but works for me
doutriaux1 Jun 1, 2016
d1c8a97
closer but got some reloc issues
doutriaux1 Jun 1, 2016
a8aa5a8
still not there
doutriaux1 Jun 2, 2016
5babb4b
added -y so it doesn't wait for user answer
doutriaux1 Jun 2, 2016
888462c
add DYLD env library for mac in runtest
doutriaux1 Jun 3, 2016
67300c9
closer, now build and some ctest pass
doutriaux1 Jun 6, 2016
2247a41
working on flake8
doutriaux1 Jun 7, 2016
cad058d
flake8 passe again
doutriaux1 Jun 7, 2016
3aa5426
added code to automatically update the baselines
doutriaux1 Jun 7, 2016
d7cc903
do not remove test for SAMPLE_DATA makes impossible to merge master b…
doutriaux1 Jun 7, 2016
e7152ec
merged master in
doutriaux1 Jun 7, 2016
aeb94b7
ok got the build system to download/check sample data only once
doutriaux1 Jun 7, 2016
3b995db
travis update
doutriaux1 Jun 7, 2016
aecf027
need to push to go to Linux, mac is dyimg
doutriaux1 Jun 7, 2016
29b67f0
testing on mac
doutriaux1 Jun 7, 2016
e274180
somehow this numpy i acting up
doutriaux1 Jun 7, 2016
761fc9b
major clean up
doutriaux1 Jun 7, 2016
b93d3db
major cleanup part 2
doutriaux1 Jun 7, 2016
bd749c4
file needed
doutriaux1 Jun 7, 2016
5a81181
pcmdi won't work unitl rebuild or checkout from nightly
doutriaux1 Jun 7, 2016
7b80ef9
merged master in
doutriaux1 Jun 8, 2016
378371d
merged master in
doutriaux1 Jun 8, 2016
018a308
flake8 for dv3d
doutriaux1 Jun 8, 2016
514af9d
test tweaks
doutriaux1 Jun 8, 2016
3df8fa1
mac passes now
doutriaux1 Jun 8, 2016
4f3a878
merged master in
doutriaux1 Jun 8, 2016
1fce425
option to add suffix to baselines
doutriaux1 Jun 8, 2016
e272435
made suffix one otherwise find_alternate won't find them
doutriaux1 Jun 8, 2016
42462a2
slowly fixing test suite
doutriaux1 Jun 8, 2016
39da09b
turning off baselines update
doutriaux1 Jun 9, 2016
ce4c96a
added code to make sure we have conda in path
doutriaux1 Jun 9, 2016
97724ba
added command to clean conda env when we are done with it
doutriaux1 Jun 13, 2016
54705f6
Merge branch 'master' into conda_build
doutriaux1 Jun 13, 2016
6811f8b
added missing clean file
doutriaux1 Jun 13, 2016
562b8b9
chmod clean script
doutriaux1 Jun 13, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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