Skip to content

Commit

Permalink
analyzer: Use pip module instead of tool to install IKOS (#242).
Browse files Browse the repository at this point in the history
The installation script assumes that the tool pip is available, which
may not be true.

This commit replaces calls to the `pip` tool with calls to `python`
using `pip` as the module.

This change was actually contributed by Maxime Arthaud.
  • Loading branch information
ivanperez-keera committed Dec 10, 2023
1 parent 03293b7 commit 2c534c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions analyzer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ add_custom_target(ikos-python ALL

install(CODE "
set(PIP_INSTALL
\"${PYTHON_EXECUTABLE}\"
\"-m\"
\"pip\"
\"install\"
)
Expand Down

0 comments on commit 2c534c9

Please sign in to comment.