Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grid_gran
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Geoff Cureton
grid_gran
Commits
88256715
Commit
88256715
authored
5 years ago
by
Geoff Cureton
Browse files
Options
Downloads
Patches
Plain Diff
Added build script for docker and singularity.
parent
dfbad81f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+19
-0
19 additions, 0 deletions
build.sh
with
19 additions
and
0 deletions
build.sh
0 → 100644
+
19
−
0
View file @
88256715
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment