Skip to content

Instantly share code, notes, and snippets.

@rolk
Created April 2, 2013 11:54
Show Gist options
  • Save rolk/5291681 to your computer and use it in GitHub Desktop.
Save rolk/5291681 to your computer and use it in GitHub Desktop.
#!/bin/bash
mkdir -p aaa/bbb
cd aaa/bbb
for p in opm-core dune-cornerpoint opm-porsol; do
git clone -b release/2013.03 http://github.com/OPM/$p;
mkdir -p $p/build
cd $p/build
cmake ..
make
cd ../..
done
cd ..
mkdir -p ccc/ddd
cd ccc/ddd
git clone -b 045_suite http://github.com/rolk/opm-upscaling
mkdir -p opm-upscaling/build
cmake .. -DOPM_ROOT=$(cd ../../../../aaa/bbb; pwd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment