root/trunk/build-all

Revision 1, 1.2 kB (checked in by root, 3 years ago)

initial import

  • Property svn:executable set to
Line 
1         #!/bin/bash
2         #Builds all binaries
3         /bin/rm -r bin
4         /bin/mkdir  bin
5 #build the src tar files, we include these in the
6 #rpm because users amy want to rebult the codes
7         cd src
8         tar cvzf bonnie++-1.01c.tgz bonnie++-1.01c
9         tar cvzf netperf-2.1pl3.tar.gz netperf-2.1pl3
10         tar cvzf  npb.tar.gz npb
11         tar cvzf unixbench.tar.gz unixbench
12
13         tar cvzf stream.tar.gz stream
14         tar cvzf netpipe.tar.gz netpipe-2.4
15 #needed to fix a make issue
16         touch LMbench/scripts/*
17         tar cvzf lmbench-2.0-patch1.tgz LMbench
18 #now start building
19         cd bonnie++-1.01c
20         ./configure
21         make 
22         cp bonnie++ ../../bin/bonnie++
23         make clean
24         cd ..;
25         cd netpipe-2.4;
26         make TCP;
27         cp NPtcp  ../../bin/NPtcp
28         make clean
29         cd ..;
30         cd netperf-2.1pl3;
31         make;
32         cp netperf  ../../bin/netperf
33         cp netserver  ../../bin/netserver
34         make clean
35         cd ..;
36         cd stream;
37         gcc -o stream-wall stream_d.c second_wall.c -lm
38         cp  stream-wall ../../bin/stream-wall
39         /bin/rm stream-wall
40         cd ..;
41         cd ..;
42         cp bps-html/bps-html.pl bin/bps-html
43         cp bps-html/netpipe.network_signature_graph.gp bin
44         cp bps-html/netpipe.throughput_vs_blocksize.gp bin
45         #cp xbps/xbps.py bin/xbps
46         cp src/sedscr bin/sedscr
47         cp src/bps bin/bps
Note: See TracBrowser for help on using the browser.