Files
scylla/Makefile
Avi Kivity 91f10b8a9c Add asynchronous I/O test
- launch 10,000 concurrent writes
 - when any one of these complete, launch a read for the same offset
 - compare read/write data
 - when all reads complete, terminate
2014-08-21 14:01:51 +03:00

37 lines
681 B
Makefile

mode = release
sanitize.debug = -fsanitize=address -fsanitize=leak -fsanitize=undefined
sanitize.release =
opt.debug = -O0
opt.release = -O2 -flto
sanitize = $(sanitize.$(mode))
opt = $(opt.$(mode))
libs = -laio
CXXFLAGS = -std=gnu++1y -g -Wall -Werror $(opt) -MD -MT $@ -MP -flto $(sanitize) -fvisibility=hidden $(libs)
tests = test-reactor fileiotest
all: seastar $(tests) httpd
clean:
rm seastar $(tests) *.o
seastar: main.o reactor.o
$(CXX) $(CXXFLAGS) -o $@ $^
test-reactor: test-reactor.o reactor.o
$(CXX) $(CXXFLAGS) -o $@ $^
httpd: httpd.o reactor.o
$(CXX) $(CXXFLAGS) -o $@ $^
fileiotest: fileiotest.o reactor.o
$(CXX) $(CXXFLAGS) -o $@ $^
-include *.d