Skip to content
Snippets Groups Projects
Commit 87ffe253 authored by Ray Garcia's avatar Ray Garcia :scream_cat:
Browse files

add zarr and its dependencies

parent 89477ed4
No related branches found
Tags cspp-r20200921-0
No related merge requests found
......@@ -17,6 +17,8 @@ ENV MAKEFLAGS=-j24
RUN ./shallbethree.sh mk_gcc8
ARG LINUXCPUFLAGS="-march=ivybridge -fPIC"
ENV LINUXCPUFLAGS="${LINUXCPUFLAGS}"
# numcodecs will break on avx2 build when ivybridge arch is forced
ENV DISABLE_NUMCODECS_AVX2=correctamundo
RUN ./shallbethree.sh mk_${TRIM}
WORKDIR /work
RUN echo export HOSTNAME=$(perl -ne '/.*"HOSTNAME": "(\w+)",/ && print "$1";' </opt/shellb3-cspp-py38/ShellB3/build/.build_env.json) >/etc/profile.d/99-build-host.sh
......@@ -1069,6 +1069,13 @@ export GDALVER=2.3.1
export SODIUMVER=1.0.17
export PYTESTVER=5.4.3
# zarr and dependencies
export ZARRVER=2.4.0
export ASCIITREEVER=0.3.3
export FASTENERSVER=0.15
export MONOTONICVER=1.5
export NUMCODECSVER=0.7.2
export OPENH264VER=1.8.0
export LIBAVVER=12.3
......@@ -1503,7 +1510,7 @@ _decompress_in_build(){
tarball="src/downloaded/${buildir}.tar.xz"
#| xzcat - | tar xf - -C build || oops "could not unpack xz-ed ${name} from ${tarball}"
fi
xzcat "${tarball}" | tar xf - -C build || oops "could not unpack xz-ed ${name} from ${tarball}"
xzcat "${tarball}" | tar xf - -C build --no-same-owner || oops "could not unpack xz-ed ${name} from ${tarball}"
else
if [ "$(echo ${tarball} | cut -c-4)" == "http" ] ; then
mkdir -p src/downloaded
......@@ -1515,7 +1522,7 @@ _decompress_in_build(){
tarball="src/downloaded/${buildir}.tar"
#| xzcat - | tar xf - -C build || oops "could not unpack xz-ed ${name} from ${tarball}"
fi
tar xf "${tarball}" -C build || oops "could not unpack ${name} from ${tarball}"
tar xf "${tarball}" -C build --no-same-owner || oops "could not unpack ${name} from ${tarball}"
fi
if [ -e build/${buildir} ] ; then
echo -n
......@@ -6813,6 +6820,14 @@ mk_dask(){
_setup_build_install dask src/optional/dask-${DASKVER}.tar.* dask-${DASKVER} || oops "dask failed to install"
}
mk_zarr() {
simple_py_install src/optional/asciitree-${ASCIITREEVER}.tar* || oops "asciitree failed to install"
simple_py_install src/optional/monotonic-${MONOTONICVER}.tar* || oops "monotonic failed to install"
simple_py_install src/optional/fasteners-${FASTENERSVER}.tar* || oops "fasteners failed to install"
simple_py_install src/optional/numcodecs-${NUMCODECSVER}.tar* || oops "numcodecs failed to install"
simple_py_install src/optional/zarr-${ZARRVER}.tar* || oops "zarr failed to install"
}
mk_aerocalc() {
resume_tracker && return 0
......@@ -11028,6 +11043,7 @@ mk_cspp() {
&& mk_requests \
&& mk_metpy \
&& mk_dask \
&& mk_zarr \
&& mk_patchelf --bindir=${BASE}/bin
echo cspp >>trim
}
......
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment