Skip to content

Commit

Permalink
To supply target architecture when building PyInstaller binary
Browse files Browse the repository at this point in the history
  • Loading branch information
super132 authored Dec 15, 2023
1 parent e6aaa16 commit 87c8c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/pyinstaller/build-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fi
echo "samcli-mac.spec content is:"
cat installer/pyinstaller/samcli-mac.spec
# Note: onefile/onedir options are not valid when spec file is used on mac
../venv/bin/python -m PyInstaller --clean installer/pyinstaller/samcli-mac.spec
../venv/bin/python -m PyInstaller --clean --target-arch ${mac_arch} installer/pyinstaller/samcli-mac.spec

# Organizing the pyinstaller-output folder
mkdir pyinstaller-output
Expand Down

0 comments on commit 87c8c9b

Please sign in to comment.