Skip to content

Commit 1d0d320

Browse files
Merge pull request #114 from baagaard-usgs/feature-binary-package
Add scripts to build binary package
2 parents baa4f91 + 32f3e62 commit 1d0d320

File tree

24 files changed

+852
-74
lines changed

24 files changed

+852
-74
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ autom4te.cache
55
aux-config
66
docker
77
!docker/certs
8+
!docker/build_binary.py
9+
!docker/pip.conf
810
build
911
models/plotting/data
1012
models/plotting/plots

CHANGES.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
# Version X.X
1+
# Version 1.0.0rc1
2+
3+
## Known issues
4+
5+
* The interpolation algorithm does not respect fault block and zone boundaries and the boundary between water and solid materials. This means fault block and zone ids will be interpolated across block and zone boundaries, and Vp and density will be interpolated Vp and density across the boundary between water and solid materials. Vs is not interpolated across the boundary between water and solid material, because it is not defined in water.
6+
* GeoModelGrids does not support unit conversions. All values returned in queries are in the units of the underlying models. We do check that all models have consistent units for values contained in multiple models. Queries for the elevations of the top surface or topography/bathymetry will be returned in the units of the input Coordinate Reference System.
7+
* The model storage has been optimized for faster successive queries in the vertical direction. That is, querying for points on a vertical slice will generally be faster than querying the same number of points on a horizontal slice.
8+

Makefile.am

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,20 @@ EXTRA_DIST = \
2929
code.json \
3030
developer/autopep8.cfg \
3131
developer/uncrustify.cfg \
32-
docker/debian-stable-gcc8 \
33-
docker/geomodelgrids-testenv
32+
docker/README.md \
33+
docker/build_binary.py \
34+
docker/builder.py \
35+
docker/update_testenv.py \
36+
docker/debian-stable \
37+
docker/debian-testing \
38+
docker/ubuntu-20.04 \
39+
docker/ubuntu-20.10 \
40+
docker/fedora-32 \
41+
docker/fedora-33 \
42+
docker/centos-8 \
43+
docker/geomodelgrids-testenv \
44+
docker/geomodelgrids-devenv \
45+
docker/geomodelgrids-userenv
3446

3547

3648
.PHONY: coverage-libtests coverage-html clean-coverage

configure.ac

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# ----------------------------------------------------------------------
77

88
AC_PREREQ(2.59)
9-
AC_INIT([geomodelgrids], [0.2.0], [baagaard@usgs.gov])
9+
AC_INIT([geomodelgrids], [1.0.0rc1], [baagaard@usgs.gov])
1010
AC_CONFIG_HEADER([portinfo])
1111
AC_CONFIG_AUX_DIR([./aux-config])
1212
AC_CONFIG_MACRO_DIR([m4])
@@ -41,7 +41,7 @@ AC_ARG_ENABLE([test-coverage],
4141
[enable_test_coverage=no])
4242
AC_ARG_WITH([python-coverage],
4343
[AC_HELP_STRING([--with-python-coverage],
44-
[set executable for python-coverage @<:@default=python3-coverage@:>@])],
44+
[Specify executable for python-coverage @<:@default=python3-coverage@:>@])],
4545
[python_coverage=$withval],
4646
[python_coverage="python3-coverage"])
4747
AC_SUBST(python_coverage)
@@ -66,55 +66,55 @@ AC_ARG_ENABLE([spatialdata],
6666
# CPPUNIT
6767
AC_ARG_WITH([cppunit-incdir],
6868
[AC_HELP_STRING([--with-cppunit-incdir],
69-
[location of cppunit header files @<:@default=no@:>@])],
69+
[Specify location of cppunit header files @<:@default=no@:>@])],
7070
[with_cppunit_incdir=$withval],
7171
[with_cppunit_incdir=no])
7272
AC_SUBST(with_cppunit_incdir)
7373
AC_ARG_WITH([cppunit-libdir],
7474
[AC_HELP_STRING([--with-cppunit-libdir],
75-
[location of cppunit library @<:@default=no@:>@])],
75+
[Specify location of cppunit library @<:@default=no@:>@])],
7676
[with_cppunit_libdir=$withval],
7777
[with_cppunit_libdir=no])
7878
AC_SUBST(with_cppunit_libdir)
7979

8080
# PROJ
8181
AC_ARG_WITH([proj-incdir],
8282
[AC_HELP_STRING([--with-proj-incdir],
83-
[location of proj header files @<:@default=no@:>@])],
83+
[Specify location of proj header files @<:@default=no@:>@])],
8484
[with_proj_incdir=$withval],
8585
[with_proj_incdir=no])
8686
AC_SUBST(with_proj_incdir)
8787
AC_ARG_WITH([proj-libdir],
8888
[AC_HELP_STRING([--with-proj-libdir],
89-
[location of proj library @<:@default=no@:>@])],
89+
[Specify location of proj library @<:@default=no@:>@])],
9090
[with_proj_libdir=$withval],
9191
[with_proj_libdir=no])
9292
AC_SUBST(with_proj_libdir)
9393

9494
# HDF5
9595
AC_ARG_WITH([hdf5-incdir],
9696
[AC_HELP_STRING([--with-hdf5-incdir],
97-
[location of hdf5 header files @<:@default=no@:>@])],
97+
[Specify location of hdf5 header files @<:@default=no@:>@])],
9898
[with_hdf5_incdir=$withval],
9999
[with_hdf5_incdir=no])
100100
AC_SUBST(with_hdf5_incdir)
101101
AC_ARG_WITH([hdf5-libdir],
102102
[AC_HELP_STRING([--with-hdf5-libdir],
103-
[location of hdf5 library @<:@default=no@:>@])],
103+
[Specify location of hdf5 library @<:@default=no@:>@])],
104104
[with_hdf5_libdir=$withval],
105105
[with_hdf5_libdir=no])
106106
AC_SUBST(with_hdf5_libdir)
107107

108108
# GDAL
109109
AC_ARG_WITH([gdal-incdir],
110110
[AC_HELP_STRING([--with-gdal-incdir],
111-
[location of gdal header files @<:@default=no@:>@])],
111+
[Specify location of gdal header files @<:@default=no@:>@])],
112112
[with_gdal_incdir=$withval],
113113
[with_gdal_incdir=no])
114114
AC_SUBST(with_gdal_incdir)
115115
AC_ARG_WITH([gdal-libdir],
116116
[AC_HELP_STRING([--with-gdal-libdir],
117-
[location of gdal library @<:@default=no@:>@])],
117+
[Specify location of gdal library @<:@default=no@:>@])],
118118
[with_gdal_libdir=$withval],
119119
[with_gdal_libdir=no])
120120
AC_SUBST(with_gdal_libdir)
@@ -127,6 +127,10 @@ AC_PROG_CC
127127
AC_PROG_LIBTOOL
128128
AC_PROG_INSTALL
129129

130+
# Require C++-11
131+
AX_CXX_COMPILE_STDCXX(11)
132+
133+
130134
AC_PROG_LIBTOOL
131135
if test "$allow_undefined_flag" = unsupported; then
132136
# See issue119.
@@ -197,9 +201,6 @@ fi
197201

198202
# CPPUNIT
199203
if test "$enable_testing" = "yes" ; then
200-
# Require C++-11
201-
AX_CXX_COMPILE_STDCXX(11)
202-
203204
if test "$with_cppunit_incdir" != no; then
204205
CPPUNIT_INCLUDES="-I$with_cppunit_incdir"
205206
fi
@@ -294,7 +295,7 @@ AC_CONFIG_FILES([Makefile
294295
tests/libtests/utils/Makefile
295296
tests/libtests/serial/Makefile
296297
tests/libtests/apps/Makefile
297-
tests/pytests/Makefile
298+
tests/pytests/Makefile
298299
docs/Makefile
299300
models/Makefile
300301
])

0 commit comments

Comments
 (0)