2015-10-08 15:59:15 +02:00
|
|
|
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
|
|
|
|
|
2015-10-06 10:57:49 +02:00
|
|
|
===================================================================
|
2016-09-06 21:56:43 +02:00
|
|
|
--- doxygen-1.8.12/src/dot.cpp 2016-05-10 21:51:52.000000000 +0200
|
|
|
|
+++ doxygen-1.8.12_new/src/dot.cpp 2016-09-06 19:42:27.244474872 +0200
|
|
|
|
@@ -1192,9 +1192,12 @@
|
2015-10-08 15:59:15 +02:00
|
|
|
m_queue = new DotRunnerQueue;
|
|
|
|
int i;
|
2016-09-06 21:56:43 +02:00
|
|
|
int numThreads = QMIN(32,Config_getInt(DOT_NUM_THREADS));
|
2015-10-08 15:59:15 +02:00
|
|
|
+ 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);
|