added build directory to ignore list and simplified dir layout
This commit is contained in:
parent
c704663476
commit
3d6a034c9e
|
@ -5,3 +5,4 @@
|
||||||
*.bak
|
*.bak
|
||||||
*~
|
*~
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
build
|
||||||
|
|
|
@ -16,10 +16,10 @@ if [ ! -d build ]; then
|
||||||
fi
|
fi
|
||||||
cd build
|
cd build
|
||||||
if [ -d build_FEM ] ; then
|
if [ -d build_FEM ] ; then
|
||||||
rm -rf build_FEM
|
rm -rf FEM
|
||||||
fi
|
fi
|
||||||
mkdir build_FEM
|
mkdir FEM
|
||||||
cd build_FEM
|
cd FEM
|
||||||
|
|
||||||
##
|
##
|
||||||
# CMake call
|
# CMake call
|
||||||
|
@ -43,4 +43,4 @@ echo
|
||||||
echo "Please move to the build directory using"
|
echo "Please move to the build directory using"
|
||||||
echo " cd build/build_spectral"
|
echo " cd build/build_spectral"
|
||||||
echo "Using the following command to build DAMASK spectral solver"
|
echo "Using the following command to build DAMASK spectral solver"
|
||||||
echo " make clean all install"
|
echo " make clean all install"
|
||||||
|
|
|
@ -15,11 +15,11 @@ if [ ! -d build ]; then
|
||||||
mkdir build
|
mkdir build
|
||||||
fi
|
fi
|
||||||
cd build
|
cd build
|
||||||
if [ -d build_spectral ] ; then
|
if [ -d build ] ; then
|
||||||
rm -rf build_spectral
|
rm -rf build
|
||||||
fi
|
fi
|
||||||
mkdir build_spectral
|
mkdir build
|
||||||
cd build_spectral
|
cd build
|
||||||
|
|
||||||
##
|
##
|
||||||
# CMake call
|
# CMake call
|
||||||
|
@ -41,6 +41,6 @@ cmake -D PETSC_DIR=${PETSC_DIR} \
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Please move to the build directory using"
|
echo "Please move to the build directory using"
|
||||||
echo " cd build/build_spectral"
|
echo " cd build/spectral"
|
||||||
echo "Using the following command to build DAMASK spectral solver"
|
echo "Using the following command to build DAMASK spectral solver"
|
||||||
echo " make clean all install"
|
echo " make clean all install"
|
||||||
|
|
Loading…
Reference in New Issue