<p></p>
<p>I can see two aspects being discussed here:</p>
<ol>
<li>
<p>We don't want to error out if OpenMP is older than expected. This is what happens at the moment, though - we only error out if <code>--enable-openmp</code> is issued, but not otherwise.</p>
</li>
<li>
<p>We want to allow builds without OpenMP support. This is already supported, too - the <code>ENABLE_OPENMP</code> preprocessor macro is left undefined when either OpenMP is too old (see above), or when it is manually disabled with the <code>--disable-openmp</code> configure switch. Note that there's no need to conditionalize the individual <code>#pragma omp</code> usages - they're ignored by the compiler when the <code>omp.h</code> header is not included (which is controlled by the <code>ENABLE_OPENMP</code> macro).</p>
</li>
</ol>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/ffontaine/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ffontaine">@ffontaine</a> Is the above right, or am I missing something?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1433#issuecomment-735850989">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU3FFHNIM3JOIDG76QLSSOZ5PANCNFSM4TR2SSQA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU3OOSTLO2ZL2L65JMLSSOZ5PA5CNFSM4TR2SSQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFPODD3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1433#issuecomment-735850989",
"url": "https://github.com/rpm-software-management/rpm/pull/1433#issuecomment-735850989",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>