[Rpm-maint] [rpm-software-management/rpm] don't error out if OpenMP is too old (#1433)
notifications at github.com
Mon Nov 30 15:20:55 UTC 2020
I can see two aspects being discussed here:
1) 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 `--enable-openmp` is issued, but not otherwise.
2) We want to allow builds without OpenMP support. This is already supported, too - the `ENABLE_OPENMP` preprocessor macro is left undefined when either OpenMP is too old (see above), or when it is manually disabled with the `--disable-openmp` configure switch. Note that there's no need to conditionalize the individual `#pragma omp` usages - they're ignored by the compiler when the `omp.h` header is not included (which is controlled by the `ENABLE_OPENMP` macro).
@ffontaine Is the above right, or am I missing something?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint