2004-09-23 00:06:09 +08:00
|
|
|
#! /bin/sh
|
2009-12-06 05:08:08 +08:00
|
|
|
echo
|
|
|
|
echo ' You are not running autoconf/automake tools!'
|
|
|
|
echo ' To build qmcpack, cmake, lapack/blas, hdf5 and boost are required.'
|
2014-10-29 06:02:09 +08:00
|
|
|
echo ' Check http://www.qmcpack.org'
|
2009-12-06 05:08:08 +08:00
|
|
|
echo
|
2004-09-23 00:06:09 +08:00
|
|
|
|
2009-12-06 05:09:17 +08:00
|
|
|
tcmake=`which cmake`
|
2009-12-06 05:08:08 +08:00
|
|
|
if test $tcmake; then
|
|
|
|
echo ' cd build; cmake ..; make'
|
|
|
|
cd build; cmake ..; make
|
2008-04-11 11:04:10 +08:00
|
|
|
else
|
2009-12-06 05:08:08 +08:00
|
|
|
echo
|
|
|
|
echo ' cmake is not found. Get cmake at http://www.cmake.org/'
|
2008-04-11 11:04:10 +08:00
|
|
|
fi
|