Skip to content

Commit

Permalink
install_cbmc.sh: install as package if building from source (#2878)
Browse files Browse the repository at this point in the history
This makes uninstalling easier for users

Co-authored-by: Adrian Palacios <73246657+adpaco-aws@users.noreply.github.com>
  • Loading branch information
bennofs and adpaco-aws committed Nov 18, 2023
1 parent a099116 commit 4066a23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/setup/ubuntu/install_cbmc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ git submodule update --init

cmake -S . -Bbuild -DWITH_JBMC=OFF -Dsat_impl="minisat2;cadical"
make -C build -j$(nproc)
sudo make -C build install
cpack -G DEB --config build/CPackConfig.cmake
sudo dpkg -i ./cbmc-*.deb

popd
rm -rf "${WORK_DIR}"

0 comments on commit 4066a23

Please sign in to comment.