libllvm: Support building with ninja

This commit is contained in:
Fredrik Fornwall 2018-08-22 07:56:49 +02:00
parent d28f11662f
commit f1bad037d2
1 changed files with 7 additions and 1 deletions

View File

@ -96,7 +96,13 @@ termux_step_post_make_install () {
else
cp ../src/projects/openmp/runtime/exports/common.min.50.ompt.optional/include/omp.h $TERMUX_PREFIX/include
fi
make docs-llvm-man
if [ $TERMUX_CMAKE_BUILD = Ninja ]; then
ninja docs-llvm-man
else
make docs-llvm-man
fi
cp docs/man/* $TERMUX_PREFIX/share/man/man1
cd $TERMUX_PREFIX/bin