File tree 5 files changed +24
-24
lines changed
5 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 1
- --- src/Makefile2 2007-03-29 16:40:23.000000000 +0200
2
- +++ src/Makefile 2007-03-29 16:40:54.000000000 +0200
3
- @@ -2,7 +2,7 @@
4
- CC = gcc -W
5
- DEBUGFLAGS = -D_FORTIFY_SOURCE=2
6
- OPTFLAGS= -O2 -g $(EXTFLAGS)
7
- - CFLAGS = -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(DEBUGFLAGS) -rdynamic
8
- + CFLAGS += -Wwrite-strings -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(DEBUGFLAGS) -rdynamic
1
+ --- src/Makefile2 2012-03-07 13:14:53.721251034 +0800
2
+ +++ src/Makefile 2012-03-07 13:15:03.189987595 +0800
3
+ @@ -3,7 +3,7 @@
4
+ CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
5
+ $(DEBUGFLAGS)
6
+ OPTFLAGS= -O3 -fno-omit-frame-pointer -g $(EXTFLAGS)
7
+ - CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS)
8
+ + CFLAGS += -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS)
9
+ LIBS = -lm $(EXTLIBS)
9
10
PROGS = fio
10
11
SCRIPTS = fio_generate_plots
11
- OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o \
12
- @@ -28,7 +28,7 @@ bindir = $(prefix)/bin
13
- all: $(PROGS) $(SCRIPTS)
14
-
15
- fio: $(OBJS)
16
- - $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
17
- + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
18
-
19
- clean:
20
- -rm -f *.o .depend cscope.out $(PROGS) engines/*.o core.* core
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ TEST_TYPE = "client"
6
6
TIME = 'MEDIUM'
7
7
EXPERIMENTAL = "True"
8
8
DOC='''
9
- fio is an I/O tool meant to be used both for benchmark and stress/hardware
10
- verification. This test runs the fio tool. Details can be found at :
11
- http://freshmeat.net /projects/fio/
9
+ fio is an I/O tool meant to be used both for benchmark and stress/hardware
10
+ verification. This test runs the fio tool. Details can be found at :
11
+ http://freecode.com /projects/fio
12
12
'''
13
13
job.run_test('fio')
Original file line number Diff line number Diff line change 3
3
4
4
5
5
class fio (test .test ):
6
- version = 2
6
+ """
7
+ fio is an I/O tool mean for benchmark and stress/hardware verification.
8
+
9
+ @see: http://freecode.com/projects/fio
10
+ """
11
+ version = 3
7
12
8
13
def initialize (self ):
9
14
self .job .require_gcc ()
10
15
11
16
12
- # http://brick.kernel.dk/snaps/fio-1.16.5.tar.bz2
13
- def setup (self , tarball = 'fio-1.16.5.tar.bz2' ):
17
+ def setup (self , tarball = 'fio-2.0.5.tar.bz2' ):
18
+ """
19
+ Compiles and installs fio.
20
+
21
+ @see: http://brick.kernel.dk/snaps/fio-2.0.5.tar.bz2
22
+ """
14
23
tarball = utils .unmap_url (self .bindir , tarball , self .tmpdir )
15
24
utils .extract_tarball_to_dir (tarball , self .srcdir )
16
25
You can’t perform that action at this time.
0 commit comments