You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, configure.ac checks compilation on macOS with -Xclang -fopenmp OpenMP flags. In case of failure, it tries to compile one more time with default -fopenmp flag. I think we can improve that check by trying to compile with some other OpenMP flags with the aim to support more compilers.
Closing in favor of being in #2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open (or post a comment if you are not a topic starter) this issue if you are actively working on implementing this feature.
jameslamb
changed the title
Improve portability of OpenMP checks in R-package configure on macOS
[R-package] Improve portability of OpenMP checks in R-package configure on macOS
Dec 27, 2021
Originally discussed in #4507 (comment).
Right now,
configure.ac
checks compilation on macOS with-Xclang -fopenmp
OpenMP flags. In case of failure, it tries to compile one more time with default-fopenmp
flag. I think we can improve that check by trying to compile with some other OpenMP flags with the aim to support more compilers.LightGBM/R-package/configure.ac
Line 103 in c65a2e3
Possible flags to check: https://github.com/autoconf-archive/autoconf-archive/blob/6c25681d78d963708362ea0d4d63ee9b508782b6/m4/ax_openmp.m4#L82.
The text was updated successfully, but these errors were encountered: