Skip to content

Commit 01b863c

Browse files
author
Daniel Kroening
committed
use gunzip instead of assuming gtar
1 parent 7c0d750 commit 01b863c

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

COMPILING.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,8 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
8888
```
8989
3. Get MiniSat2 by entering
9090
```
91-
cd cbmc-git
92-
wget http://ftp.debian.org/debian/pool/main/m/minisat2/minisat2_2.2.1.orig.tar.gz
93-
gtar xfz minisat_2.2.1.orig.tar.gz
94-
mv minisat2-2.2.1 minisat-2.2.1
95-
(cd minisat-2.2.1; patch -p1 < ../scripts/minisat-2.2.1-patch)
91+
cd cbmc-git/src
92+
gmake minisat2-download DOWNLOADER=wget
9693
```
9794
4. Type
9895
```

src/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,22 @@ DOWNLOADER = lwp-download
9191
minisat2-download:
9292
@echo "Downloading Minisat 2.2.1"
9393
@$(DOWNLOADER) http://ftp.debian.org/debian/pool/main/m/minisat2/minisat2_2.2.1.orig.tar.gz
94-
@tar xfz minisat2_2.2.1.orig.tar.gz
94+
@gunzip minisat2_2.2.1.orig.tar.gz
95+
@tar xf minisat2_2.2.1.orig.tar
9596
@rm -Rf ../minisat-2.2.1
9697
@mv minisat2-2.2.1 ../minisat-2.2.1
9798
@(cd ../minisat-2.2.1; patch -p1 < ../scripts/minisat-2.2.1-patch)
98-
@rm minisat2_2.2.1.orig.tar.gz
99+
@rm minisat2_2.2.1.orig.tar
99100

100101
glucose-download:
101102
@echo "Downloading glucose-syrup"
102103
@$(DOWNLOADER) http://www.labri.fr/perso/lsimon/downloads/softwares/glucose-syrup.tgz
103-
@tar xfz glucose-syrup.tgz
104+
@gunzip glucose-syrup.tgz
105+
@tar xf glucose-syrup.tar
104106
@rm -Rf ../glucose-syrup
105107
@mv glucose-syrup ../
106108
@(cd ../glucose-syrup; patch -p1 < ../scripts/glucose-syrup-patch)
107-
@rm glucose-syrup.tgz
109+
@rm glucose-syrup.tar
108110

109111
ipasir-download:
110112
# get the 2016 version of the ipasir package, which contains a few solvers

0 commit comments

Comments
 (0)