Petr Gajdos
bff7516daa
OBS-URL: https://build.opensuse.org/request/show/337261 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=97
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From: Michel Normand <normand@linux.vnet.ibm.com>
|
|
Subject: doxygen ppc64le ignore DOT NUM THREADS to 0
|
|
Date: Wed, 07 Oct 2015 14:11:22 +0200
|
|
|
|
doxygen ppc64le ignore DOT NUM THREADS to 0 as a bypass to boo#921577
|
|
|
|
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
|
|
---
|
|
src/dot.cpp | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
Index: doxygen-1.8.10/src/dot.cpp
|
|
===================================================================
|
|
--- doxygen-1.8.10.orig/src/dot.cpp
|
|
+++ doxygen-1.8.10/src/dot.cpp
|
|
@@ -1240,9 +1240,12 @@ DotManager::DotManager() : m_dotMaps(100
|
|
m_queue = new DotRunnerQueue;
|
|
int i;
|
|
int numThreads = QMIN(32,Config_getInt("DOT_NUM_THREADS"));
|
|
+ if (numThreads==0) {
|
|
+ numThreads = 1;
|
|
+ msg("use single threaded despite DOT_NUM_THREADS=0 (bypass boo#921577)\n");
|
|
+ }
|
|
if (numThreads!=1)
|
|
{
|
|
- if (numThreads==0) numThreads = QMAX(2,QThread::idealThreadCount()+1);
|
|
for (i=0;i<numThreads;i++)
|
|
{
|
|
DotWorkerThread *thread = new DotWorkerThread(m_queue);
|
|
|