Skip to content

Commit 1be3adc

Browse files
committed
Rewrite README to reflect fetching pin
It's a bad idea to fetch dependencies as part of your build process. This makes it harder to package properly because: * It is not obvious what you really depend on, so packagers can miss deps. * Some build environments do not have network access * It becomes more difficult to upgrade the dependency For Pin in particular it makes sense to have a fetch mechanism since it is not installable, but putting it in the Makefile hides this from the user.
1 parent 94e7933 commit 1be3adc

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,10 @@ We recommend using OPAM for building SymFuzz.
2323

2424
4. Build SymFuzz
2525

26-
make
26+
1. Download and unpack pin
27+
28+
./fetch-pin.sh
29+
30+
2. Build SymFuzz
31+
32+
make

fetch-pin.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
wget 'http://software.intel.com/sites/landingpage/pintool/downloads/pin-2.14-67254-gcc.4.4.7-linux.tar.gz'
3+
tar xfz pin-2.14-67254-gcc.4.4.7-linux.tar.gz
4+
mv pin-2.14-67254-gcc.4.4.7-linux pin
5+
rm pin-2.14-67254-gcc.4.4.7-linux.tar.gz

0 commit comments

Comments
 (0)