Skip to content

Fix call of usage when packing dependencies for one architecture only#5432

Open
gahfy wants to merge 1 commit into
utmapp:mainfrom
gahfy:main
Open

Fix call of usage when packing dependencies for one architecture only#5432
gahfy wants to merge 1 commit into
utmapp:mainfrom
gahfy:main

Conversation

@gahfy

@gahfy gahfy commented Jul 7, 2023

Copy link
Copy Markdown

The doc stated to run ./scripts/pack_dependencies.sh . macos arm64 x86_64 to pack dependencies for universal binaries.

However, if you just want to build it for running it locally with the command ./scripts/pack_dependencies.sh . macOS arm64, the usage() method will get called.

This fix let you pack dependencies for one architecture only.

The doc stated to run `./scripts/pack_dependencies.sh . macos arm64 x86_64` to pack dependencies for universal binaries.

However, if you just want to build it for running it locally with the command `./scripts/pack_dependencies.sh . macOS arm64`, the `usage()` method will get called.

This fix let you pack dependencies for one architecture only.
@osy

osy commented Aug 19, 2023

Copy link
Copy Markdown
Contributor

Sorry, what's the purpose of running this with one architecture?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants