oneapi-src / oneTBB

oneAPI Threading Building Blocks (oneTBB)
https://oneapi-src.github.io/oneTBB/
Apache License 2.0
5.45k stars 992 forks source link

oneTBB as a Swift Package, the Open-Source Metaverse starts with you. #1244

Open furby-tm opened 8 months ago

furby-tm commented 8 months ago

Hello,

I'd like to bring to your attention the importance of oneTBB as a significant dependency within the broader context of the Metaverse project. The term "Metaverse", in this context, refers to open-source software built upon the foundation of the ASWF landscape, with Pixar's Universal Scene Description at its core. It's worth noting that Pixar's Universal Scene Description also relies on TBB as a crucial dependency.

The Wabi Foundation (@wabiverse) is currently hosting a monorepo that contains all the dependencies for this underlying landscape, which can be found here. Our primary objective is to bring Pixar's USD to the Swift programming language. To achieve this, we aim to have all dependencies of USD provide their own Package.swift file at the root of their respective repository. This approach would allow us to avoid maintaining a monorepo while leveraging the capabilities of the Swift Package Manager, which can compile Objective-C/C++, C/C++, in addition to Swift.

For your convenience, I have prepared a potential Package.swift configuration for oneTBB, which you can find in this code snippet here.

I'm more than willing to submit a Package.swift as a Pull Request if the developers of oneTBB are open to supporting this initiative.

Thank you for your consideration.

isaevil commented 8 months ago

Hi @furby-tm. Thanks for you interest in contribution to oneTBB! We can accept your PR with support for Swift Package Manager, but the feature itself would be a community-supported though.

furby-tm commented 8 months ago

@isaevil I'm very happy to hear this, this is great news! I am out of town but will issue a PR to support SwiftPM as soon as I'm back at my office. Thank you very much!