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

Do not build debug by default #40

Merged
merged 5 commits into from
Apr 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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