Skip to content

Commit

Permalink
Add graphviz in setup_pash (#541)
Browse files Browse the repository at this point in the history
* Add graphviz in setup_pash

Signed-off-by: Konstantinos Kallas <[email protected]>

* Add graphviz in distro-deps (since we need the dot executable in the path to generate diagrams

Signed-off-by: Konstantinos Kallas <[email protected]>

* Whitespace to trigger jobs...
  • Loading branch information
angelhof authored Apr 26, 2022
1 parent 6d6328a commit 3694a61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions compiler/ir.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,3 +990,4 @@ def valid(self):
# and not self.get_stdin() is None
# and not self.get_stdout() is None)))


2 changes: 1 addition & 1 deletion scripts/distro-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi
# convert to lowercase
distro=$(printf '%s\n' "$distro" | LC_ALL=C tr '[:upper:]' '[:lower:]')
# compile the list of the shared required packages
pkgs="automake bc curl gcc git libtool m4 python sudo wget"
pkgs="automake bc curl gcc git graphviz libtool m4 python sudo wget"
# now do different things depending on distro
case "$distro" in
ubuntu*)
Expand Down
1 change: 1 addition & 0 deletions scripts/setup-pash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ echo "Installing python dependencies..."

python3 -m pip install jsonpickle --root $PYTHON_PKG_DIR --ignore-installed #&> $LOG_DIR/pip_install_jsonpickle.log
python3 -m pip install pexpect --root $PYTHON_PKG_DIR --ignore-installed #&> $LOG_DIR/pip_install_pexpect.log
python3 -m pip install graphviz --root $PYTHON_PKG_DIR --ignore-installed #&> $LOG_DIR/pip_install_graphviz.log
python3 -m pip install numpy --root $PYTHON_PKG_DIR --ignore-installed #&> $LOG_DIR/pip_install_numpy.log
python3 -m pip install matplotlib --root $PYTHON_PKG_DIR --ignore-installed #&> $LOG_DIR/pip_install_matplotlib.log

Expand Down

0 comments on commit 3694a61

Please sign in to comment.