-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build PyQt5 wheel in parallel (#302)
* Build PyQt5 wheel * Use valid whl name * Move openpilot_python_dependencies to earlier to avoid duplication
- Loading branch information
1 parent
4a924da
commit 388c799
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash -e | ||
|
||
# Use pyenv venv | ||
export PATH="/usr/local/pyenv/bin:/usr/local/pyenv/shims:$PATH" | ||
export PYENV_ROOT="/usr/local/pyenv" | ||
eval "$(pyenv init -)" | ||
eval "$(pyenv virtualenv-init -)" | ||
|
||
# Build PyQt5 wheel | ||
cd /tmp | ||
wget https://files.pythonhosted.org/packages/5c/46/b4b6eae1e24d9432905ef1d4e7c28b6610e28252527cdc38f2a75997d8b5/PyQt5-5.15.9.tar.gz | ||
tar xf PyQt5-5.15.9.tar.gz | ||
cd PyQt5-5.15.9 | ||
|
||
export MAKEFLAGS="-j$(nproc)" | ||
pip wheel -w . --verbose --config-settings --confirm-license= . |