Update build_macos_packages.sh (#787)

Set the environment variable and export it since it doesn't seem to get passed down.
pull/790/head snapshot-20220423.406
powderluv 2022-04-22 15:48:03 -07:00 committed by GitHub
parent 0f751498a7
commit 7d9138f497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ packages="${packages:-torch-mlir}"
# Note that this typically is selected to match the version that the official # Note that this typically is selected to match the version that the official
# Python distributed is built at. # Python distributed is built at.
#export MACOSX_DEPLOYMENT_TARGET=11.0 export MACOSX_DEPLOYMENT_TARGET=11.0
#export CMAKE_OSX_ARCHITECTURES="arm64;x86_64" export CMAKE_OSX_ARCHITECTURES="arm64;x86_64"
function run() { function run() {
echo "Using python versions: ${python_versions}" echo "Using python versions: ${python_versions}"