-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build rubberband cli failed with errors about openmp #90
Comments
The Sleef support in Rubber Band is relatively new and hasn't had a huge amount of real-world exposure yet, but the build system does attempt to use pkg-config to identify any dependencies it may have. I guess that isn't working here, which could mean
Only the last would be fixable in Rubber Band itself. So it is perhaps worth checking what Sleef provides by way of pkg-config support. (It isn't appropriate for Rubber Band's build system to simply guess at the flags or libraries required for any given dependency, at least when they are not universal - i.e. Sleef does not always use OpenMP and we do not want to add this dependency unnecessarily since Rubber Band never uses it itself.) I guess you, or somebody, explicitly requested Sleef support when building Rubber Band? (It doesn't get used by default, not even when the libraries are present.) If so, presumably that means some custom Meson command line args have been provided already when configuring Rubber Band (such as |
Sleef is kinda dead right now (shibatch/sleef#442) and there are quite a bit of bugs fixed (not all known though) using bleeding edge compared to release. Might be worth doing a quick evaluation if it offers any type of performance enhancement otherwise drop support completely. |
I mentioned this in the linked vcpkg issue, but Sleef DFT is measurably faster than other open source options, so provided it produces the right results with Rubber Band (which in my limited tests it does) it could be a valuable option for certain uses even if it isn't actively supported. But the above comment does suggest it might not be the wisest choice for general use when packaging Rubber Band. |
Have you considered KFR which seems pretty fast? |
I use
rubberband
3.2.1 on vcpkg, when I buildrubberband[cli]
on Linux, it built failed with the following errors:It seems need link
-fopenmp
, butrubberband
depends onsleef
, andsleef
have flags-fopenmp
, the version ofsleef
is 3.5.1.Could someone help me to take a look this issue? If need any logs, please ping me. Thanks in advance.
The text was updated successfully, but these errors were encountered: