[rtems-release commit] Limit the doxygen dot threads it runs.

Chris Johns chrisj at rtems.org
Wed Apr 12 11:53:21 UTC 2017


Module:    rtems-release
Branch:    master
Commit:    57926e1767889f5c05dd5ccca5f3ed4236dfe7f4
Changeset: http://git.rtems.org/rtems-release/commit/?id=57926e1767889f5c05dd5ccca5f3ed4236dfe7f4

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Apr 12 11:38:56 2017 +1000

Limit the doxygen dot threads it runs.

Updates #2989.

---

 rtems-release-kernel | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/rtems-release-kernel b/rtems-release-kernel
index 8859517..789b74a 100755
--- a/rtems-release-kernel
+++ b/rtems-release-kernel
@@ -126,11 +126,14 @@ fi
 #
 echo "Creating: Doxyfile"
 top_srcdir=$(echo ${prefix}/cpukit | sed -e 's/\//\\\//g')
+perl=$(which perl | sed -e 's/\//\\\//g')
 cat ${prefix}/cpukit/Doxyfile.in | \
     sed -e "s/@PACKAGE_VERSION@/${release}/g" \
 	-e "s/@top_srcdir@/${top_srcdir}/g" \
-	-e "s/@PERL@/perl/g" \
-	-e "s/^INPUT[[:space:]].*=.*$/INPUT = ${top_srcdir}/g" > Doxyfile
+	-e "s/@PERL@/${perl}/g" \
+	-e "s/^INPUT[[:space:]].*=.*$/INPUT = ${top_srcdir}/g" \
+	-e "s/^HAVE_DOT[[:blank:]]/DOT_NUM_THREADS = 5\\
+HAVE_DOT /g"> Doxyfile
 doxygen Doxyfile
 
 echo "Creating: rtems-doxygen-${release}.tar.${comp_ext}"



More information about the vc mailing list