Adding upstream version 0.6.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c49a9029dc
commit
7f70a05c55
465 changed files with 60158 additions and 0 deletions
29
regressions/ck_fifo/validate/Makefile
Normal file
29
regressions/ck_fifo/validate/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
.PHONY: check clean distribution
|
||||
|
||||
OBJECTS=ck_fifo_spsc ck_fifo_mpmc ck_fifo_spsc_iterator ck_fifo_mpmc_iterator
|
||||
|
||||
all: $(OBJECTS)
|
||||
|
||||
check: all
|
||||
./ck_fifo_spsc $(CORES) 1 64000
|
||||
./ck_fifo_mpmc $(CORES) 1 16000
|
||||
./ck_fifo_spsc_iterator
|
||||
./ck_fifo_mpmc_iterator
|
||||
|
||||
ck_fifo_spsc: ck_fifo_spsc.c ../../../include/ck_fifo.h
|
||||
$(CC) $(CFLAGS) -o ck_fifo_spsc ck_fifo_spsc.c
|
||||
|
||||
ck_fifo_mpmc: ck_fifo_mpmc.c ../../../include/ck_fifo.h
|
||||
$(CC) $(CFLAGS) -o ck_fifo_mpmc ck_fifo_mpmc.c
|
||||
|
||||
ck_fifo_spsc_iterator: ck_fifo_spsc_iterator.c ../../../include/ck_fifo.h
|
||||
$(CC) $(CFLAGS) -o ck_fifo_spsc_iterator ck_fifo_spsc_iterator.c
|
||||
|
||||
ck_fifo_mpmc_iterator: ck_fifo_mpmc_iterator.c ../../../include/ck_fifo.h
|
||||
$(CC) $(CFLAGS) -o ck_fifo_mpmc_iterator ck_fifo_mpmc_iterator.c
|
||||
|
||||
clean:
|
||||
rm -rf *.dSYM *.exe *~ *.o $(OBJECTS)
|
||||
|
||||
include ../../../build/regressions.build
|
||||
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE
|
Loading…
Add table
Add a link
Reference in a new issue