Skip to content

Commit

Permalink
Rm pybind11 submodule (mlcommons#1501)
Browse files Browse the repository at this point in the history
* Rm pybind11 submodule

* Rm py36 (EOL at Dec 2021)

---------

Co-authored-by: Mitchelle Rasquinha <[email protected]>
  • Loading branch information
ljk3210 and mrasquinha-g authored Nov 21, 2023
1 parent 2458b9c commit 0f71999
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,16 @@ jobs:
- name: Install requirements
run: python -m pip install cibuildwheel==2.11.4 twine==4.0.2

- name: Init pybind11 submodule
run: |
git submodule init third_party/pybind
git submodule update third_party/pybind
- name: Build wheels
run: python -m cibuildwheel loadgen/ --output-dir wheels
env:
CIBW_ENVIRONMENT: "CFLAGS='-std=c++14'"
CIBW_BUILD: 'cp3{6,7,8,9,10}-*'
CIBW_BUILD: 'cp3{7,8,9,10,11}-*'

- uses: actions/upload-artifact@v3
with:
path: ./wheels/*.whl

- name: Publish package to PyPI
run: python -m twine upload wheels/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}
run: python -m twine upload wheels/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}

6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
[submodule "third_party/gn"]
path = third_party/gn
url = https://gn.googlesource.com/gn
[submodule "third_party/pybind"]
path = third_party/pybind
url = https://github.com/pybind/pybind11.git
[submodule "language/bert/DeepLearningExamples"]
path = language/bert/DeepLearningExamples
url = https://github.com/NVIDIA/DeepLearningExamples.git
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "wheel", "pybind11==2.11.1"]
build-backend = "setuptools.build_meta:__legacy__"
1 change: 0 additions & 1 deletion third_party/pybind
Submodule pybind deleted from 25abf7

0 comments on commit 0f71999

Please sign in to comment.