From 56e59a8b4c6e4c58a813622958135f89f42e7ce3 Mon Sep 17 00:00:00 2001 From: davidgyu Date: Mon, 28 Nov 2022 15:43:16 -0800 Subject: [PATCH] Updated USD Azure PyPI for macOS to build universal2 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) --- azure-pypi-pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pypi-pipeline.yml b/azure-pypi-pipeline.yml index 74407f4fa7..dc3e576ff9 100644 --- a/azure-pypi-pipeline.yml +++ b/azure-pypi-pipeline.yml @@ -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: @@ -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 @@ -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/*