Skip to content

Commit

Permalink
Updated USD Azure PyPI for macOS to build universal2
Browse files Browse the repository at this point in the history
Increased the timeout from 90 to 180 minutes since these universal
builds are taking almost twice as long (currently ~120min).

Fixes #1718

(Internal change: 2256326)
  • Loading branch information
davidgyu authored and pixar-oss committed Dec 8, 2022
1 parent dcfd31b commit 56e59a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pypi-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ stages:
PYTHON_VERSION_SPEC: 3.9
PYTHON_INTERPRETER: python3.9
PYTHON_TAG: cp39
timeoutInMinutes: 90
timeoutInMinutes: 180
pool:
vmImage: 'macOS-11'
steps:
Expand All @@ -181,7 +181,7 @@ stages:
addToPath: true
- script: |
sudo xcode-select -s /Applications/Xcode_13.2.app/Contents/Developer
$(PYTHON_INTERPRETER) build_scripts/build_usd.py --build-args USD,"-DPXR_PY_UNDEFINED_DYNAMIC_LOOKUP=ON -DPXR_BUILD_USD_TOOLS=OFF -DPXR_INSTALL_LOCATION=../pluginfo" --no-imaging --no-examples --no-tutorials --generator Xcode --build $HOME/USDgen/build --src $HOME/USDgen/src $HOME/USDinst -v
$(PYTHON_INTERPRETER) build_scripts/build_usd.py --build-args USD,"-DPXR_PY_UNDEFINED_DYNAMIC_LOOKUP=ON -DPXR_BUILD_USD_TOOLS=OFF -DPXR_INSTALL_LOCATION=../pluginfo" --no-imaging --no-examples --no-tutorials --generator Xcode --build-target universal --build $HOME/USDgen/build --src $HOME/USDgen/src $HOME/USDinst -v
displayName: 'Building USD'
- bash: |
$(PYTHON_INTERPRETER) -m pip install delocate wheel
Expand All @@ -195,7 +195,7 @@ stages:
displayName: "Creating packaging directory"
- bash: |
cd ./packaging
$(PYTHON_INTERPRETER) setup.py $(post_release_tag_arg) bdist_wheel --python-tag ${PYTHON_TAG} --plat-name macosx_10_9_x86_64
$(PYTHON_INTERPRETER) setup.py $(post_release_tag_arg) bdist_wheel --python-tag ${PYTHON_TAG} --plat-name macosx_10_9_universal2
displayName: 'Running setup.py'
- bash: |
delocate-wheel -v -w dist-delocated packaging/dist/*
Expand Down

0 comments on commit 56e59a8

Please sign in to comment.