Skip to content

Commit 4066a23

Browse files
bennofsadpaco-aws
andauthored
install_cbmc.sh: install as package if building from source (rust-lang#2878)
This makes uninstalling easier for users Co-authored-by: Adrian Palacios <[email protected]>
1 parent a099116 commit 4066a23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/setup/ubuntu/install_cbmc.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ git submodule update --init
4444

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

4950
popd
5051
rm -rf "${WORK_DIR}"

0 commit comments

Comments
 (0)