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
Rename DISABLE_TBB flag and disable on MacOS by default (#9747)
Per #9746 , mac os compilation on ARM fails by default because of
`std::execution::par_unseq`.
This PR fixes that by explicitly disabling it on MacOS since apple clang
doesn't support it. There's probably a better plug somewhere but I'm not
ultra-familiar with how you setup the build system, should this be a
preset, should this be based on apple-clang specifically, etc. Can adapt
the PR as needed.
I also rename DISABLE_TBB here because it seems to me that this should
be part of the native C++20 support on other platforms, but I have to
admit I'm really unfamiliar with the details here and I'm not sure if
intel TBB is needed, or indeed what it does exactly. Can cut this from
the PR.
Likewise, this turns parallel algorithms ON by default on the same C++20
assumption, but that could well not work.
0 commit comments