| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
: >> "$filelist" |
| 4 |
|
| 5 |
if [ -d isa-l/.git ]; then |
| 6 |
cd isa-l |
| 7 |
git reset --hard |
| 8 |
xargs -r rm -f < "$filelist" |
| 9 |
make clean |
| 10 |
else |
| 11 |
git clone https://github.com/intel/isa-l.git isa-l |
| 12 |
cd isa-l |
| 13 |
fi |
| 14 |
: > "$filelist" |
| 15 |
make -f Makefile.unx -j |