Skip to content
Snippets Groups Projects

Update rmoogli.py

Closed Sahil Moza requested to merge github/fork/iampritishpatil/patch-1 into master
1000+ files
+ 86216
575
Compare changes
  • Side-by-side
  • Inline
Files
1000+
+ 27
0
#!/bin/bash
set -x
set -e
# NOTICE: This file is parsed by cmake to create a shell script. Not all syntax
# will play well with cmake. CMAKE replaces @FOO@ and ${FOO} with cmake variable
# values.
if [ -z "$MAKE" ]; then
MAKE=make
fi
echo "Building MOOSE"
(
export GSL_ROOT_DIR=@GSL_ROOT_DIR@
export HDF5_ROOT=@HDF5_ROOT@
cd @PYMOOSE_BUILD_DIR@
cmake -DCMAKE_INSTALL_PREFIX=@PYMOOSE_INSTALL_DIR@ \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=@PYTHON_EXECUTABLE@ \
@CMAKE_PYMOOSE_ARGS@ \
@PYMOOSE_SOURCE_DIR@
$MAKE
ctest -output-on-failure || echo "Some tests failed"
$MAKE install
)