Skip to content

Commit

Permalink
fix: apt does not work in macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
NripeshN authored Nov 15, 2023
1 parent 0aec4ed commit 056ca9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# This shell script is required by the doc-builder. Moving it might break
# the doc-building pipeline

sudo apt-get update
sudo apt-get install pandoc -y
pip install -r requirements/requirements.txt
if [[ $(arch) == 'arm64' ]]; then
brew install pandoc
pip install -r requirements/optional_apple_silicon_1.txt
pip install -r requirements/optional_apple_silicon_2.txt
else
sudo apt-get update
sudo apt-get install pandoc -y
pip install -r requirements/optional.txt
fi

0 comments on commit 056ca9e

Please sign in to comment.