Skip to content
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

onetbb: disable tbbind for Apple non-macOS #25361

Merged
merged 3 commits into from
Sep 24, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion recipes/onetbb/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.apple import is_apple_os
from conan.tools.build import cross_building
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout
from conan.tools.env import VirtualBuildEnv
Expand Down Expand Up @@ -52,7 +53,9 @@ def _tbbbind_hwloc_version(self):

@property
def _tbbbind_supported(self):
return self.settings.os != "Macos" or Version(self.version) >= "2021.11.0"
if is_apple_os(self):
return return self.settings.os == "Macos" and Version(self.version) >= "2021.11.0"
return True
kambala-decapitator marked this conversation as resolved.
Show resolved Hide resolved

@property
def _tbbbind_build(self):
Expand Down
Loading