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

[python] Parallelize pybind11 build [RFC] #3031

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnkerl
Copy link
Member

@johnkerl johnkerl commented Sep 22, 2024

Issue and/or context: Found while working on issue #2407 / [sc-51048].

Changes:

To speed up iterative dev time, I have separate little aliases & scripts (available on request). One of them is to parallelize pybind11 builds as they are sequential. It turns out those that there is an option to do this within setup.py.

See also https://pybind11.readthedocs.io/en/stable/compiling.html.

Notes for Reviewer:

To make this work we'd need to include pybind11 as an explicit dependency ...

@johnkerl johnkerl marked this pull request as draft September 22, 2024 02:50
Copy link

codecov bot commented Sep 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.79%. Comparing base (11d5396) to head (3b26fa8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3031      +/-   ##
==========================================
+ Coverage   89.64%   89.79%   +0.14%     
==========================================
  Files          40       40              
  Lines        4096     4096              
==========================================
+ Hits         3672     3678       +6     
+ Misses        424      418       -6     
Flag Coverage Δ
python 89.79% <ø> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 89.79% <ø> (+0.14%) ⬆️
libtiledbsoma ∅ <ø> (∅)

@johnkerl johnkerl changed the title [python] Parallelize pybind11 build [python] Parallelize pybind11 build [RFC] Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant