[Rpm-maint] [rpm-software-management/rpm] don't error out if OpenMP is too old (#1433)

Fabrice Fontaine notifications at github.com
Mon Nov 30 20:51:52 UTC 2020


The second point is wrong. If `ENABLE_OPENMP` is not defined and `omp.h` is not included, build will still fail on:

```
pack.c: In function 'packageBinaries':
pack.c:769:26: error: expected '#pragma omp' clause before 'priority'
  #pragma omp task untied priority(i)
                          ^
```

Following your first feedback on this PR, I sent a patch to disable openmp on buildroot side: https://patchwork.ozlabs.org/project/buildroot/patch/20201112184600.427081-1-fontaine.fabrice@gmail.com/
I'm still waiting the feedback of the other buildroot members but I think this is the only viable option as we can't 'know' the openmp version of every toolchain.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1433#issuecomment-736035545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201130/d23f4fbd/attachment.html>


More information about the Rpm-maint mailing list