Skip to content
Snippets Groups Projects
Commit 88256715 authored by Geoff Cureton's avatar Geoff Cureton
Browse files

Added build script for docker and singularity.

parent dfbad81f
No related branches found
No related tags found
No related merge requests found
build.sh 0 → 100644
#!/bin/bash
# Commands to build the grid_gran dynamically linked library
#
# buildbucket_gcc64 using either docker or singularity
#
# gitlab.ssec.wisc.edu:5555/cspp/buildbucket/buildbucket_gcc64:latest
curdir=$PWD
echo $(which gcc)
export HDF4_DIR=/opt/hdf4
export HDF5_DIR=/opt/hdf5
export NETCDF_DIR=/opt/netcdf
rm -f *.o
gcc -c -fPIC -O3 griddingAndGranulation.c -o griddingAndGranulation.o
gcc -shared -O3 -Wl,-soname,libgriddingAndGranulation.so.1 -lm -o libgriddingAndGranulation.so.1.0.1 griddingAndGranulation.o
find ./ -name "libgriddingAndGranulation.so.1.0.1" -print
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