Skip to content

Commit

Permalink
Toolchain: Add cmake dependency to spglib
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Jan 1, 2019
1 parent 3ffb78d commit bef8787
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/toolchain/install_cp2k_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -723,13 +723,18 @@ else
exit 1
fi
fi

# ParMETIS requires cmake, it also installs METIS if it is chosen
# __INSTALL__ option
if [ "$with_parmetis" = "__INSTALL__" ] ; then
[ "$with_cmake" = "__DONTUSE__" ] && with_cmake="__INSTALL__"
with_metis="__INSTALL__"
fi

# spg library requires cmake.
if [ "$with_spglib" = "__INSTALL__" ] ; then
[ "$with_cmake" = "__DONTUSE__" ] && with_cmake="__INSTALL__"
fi

# SIRIUS dependencies. Remove the gsl library from the dependencies if SIRIUS is not activated
if [ "$with_sirius" = "__INSTALL__" ] ; then
if [ "$with_gsl" = "__DONTUSE__" ] ; then
Expand Down

0 comments on commit bef8787

Please sign in to comment.