Skip to content

Commit

Permalink
Merge pull request #40 from ocefpaf/Release
Browse files Browse the repository at this point in the history
Do not build debug by default
  • Loading branch information
ocefpaf committed Apr 16, 2018
2 parents 9674399 + 3ca77f3 commit 9984d12
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 62 deletions.
22 changes: 0 additions & 22 deletions recipe/back_port_512.patch

This file was deleted.

36 changes: 0 additions & 36 deletions recipe/back_port_573.patch

This file was deleted.

1 change: 1 addition & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ mkdir %SRC_DIR%\build
cd %SRC_DIR%\build

cmake -G "NMake Makefiles" ^
-D CMAKE_BUILD_TYPE=Release ^
-D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-D BUILD_SHARED_LIBS=ON ^
-D ENABLE_TESTS=OFF ^
Expand Down
2 changes: 2 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Build static.
cmake -D CMAKE_INSTALL_PREFIX=$PREFIX \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_LIBDIR:PATH=$PREFIX/lib \
-D ENABLE_DAP=ON \
-D ENABLE_HDF4=ON \
Expand All @@ -21,6 +22,7 @@ make clean

# Build shared.
cmake -D CMAKE_INSTALL_PREFIX=$PREFIX \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_LIBDIR:PATH=$PREFIX/lib \
-D ENABLE_DAP=ON \
-D ENABLE_HDF4=ON \
Expand Down
8 changes: 4 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
- CMakeLists.patch # [win]

build:
number: 0
number: 1
skip: True # [win and py36 or py27]
features:
- vc14 # [win and (py35 or py36)]
Expand All @@ -22,13 +22,13 @@ requirements:
- cmake
- pkg-config # [not win]
- msinttypes # [win]
- curl 7.55.*
- curl >=7.44.0,<8
- zlib 1.2.11
- hdf4
- hdf5 1.10.1
- vc 14 # [win and (py35 or py36)]
run:
- curl >=7.55,<8
- curl >=7.44.0,<8
- zlib 1.2.11
- hdf4
- hdf5 1.10.1
Expand All @@ -44,7 +44,7 @@ test:
- ncdump -h "https://data.nodc.noaa.gov/thredds/dodsC/ioos/sccoos/scripps_pier/scripps_pier-2016.nc"
- ncdump -h "http://oos.soest.hawaii.edu/thredds/dodsC/hioos/model/atm/ncep_pac/NCEP_Pacific_Atmospheric_Model_best.ncd"
- ncdump -h "http://oos.soest.hawaii.edu/thredds/dodsC/usgs_dem_10m_tinian"
- ncdump -h "https://www.ncei.noaa.gov/thredds/dodsC/namanl/201609/20160929/namanl_218_20160929_1800_006.grb"
# - ncdump -h "https://www.ncei.noaa.gov/thredds/dodsC/namanl/201609/20160929/namanl_218_20160929_1800_006.grb"
- conda inspect linkages -p $PREFIX $PKG_NAME # [not win]
- conda inspect objects -p $PREFIX $PKG_NAME # [osx]

Expand Down

0 comments on commit 9984d12

Please sign in to comment.