Skip to content

Avoid installing gmp when executing install-macos.sh #2063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion install-scripts/install-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ source "$HOME/.cargo/env"
rustc --version

# Install pyenv
brew install pyenv gmp
brew install pyenv

# install gmp if it wasn't intalled before
if ! type foobar &> /dev/null; then
brew install gmp
fi
Comment on lines +15 to +17
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is type foobar?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can do:

brew install --force gmp

Instead of checking if it exists.


# Make sure pyenv has been installed correctly
pyenv -v
Expand Down
Loading