summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 09df341..05e98d2 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -30,7 +30,7 @@
# fullbench32: Same as fullbench, but forced to compile in 32-bits mode
# ##########################################################################
-RELEASE=r120
+RELEASE=r121
DESTDIR=
PREFIX=/usr
CC:=$(CC)
@@ -103,7 +103,9 @@ clean:
@echo Cleaning completed
-ifneq (,$(filter $(shell uname),Linux Darwin))
+#------------------------------------------------------------------------
+#make install is validated only for Linux, OSX, kFreeBSD and Hurd targets
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU))
install: lz4 lz4c
@echo Installing binaries
@@ -135,15 +137,18 @@ test-all: test test-force32
test-travis: $(TEST_TARGETS)
test-lz4: lz4 datagen
- ./datagen | ./lz4 | ./lz4 -vdq > $(VOID)
+ ./datagen -g16KB | ./lz4 -9 | ./lz4 -vdq > $(VOID)
+ ./datagen | ./lz4 | ./lz4 -vdq > $(VOID)
./datagen -g256MB | ./lz4 -vqB4D | ./lz4 -vdq > $(VOID)
./datagen -g6GB | ./lz4 -vqB5D | ./lz4 -vdq > $(VOID)
test-lz4c: lz4c datagen
test-lz4c32: lz4 lz4c32 lz4 datagen
- ./datagen | ./lz4c32 | ./lz4c32 -vdq > $(VOID)
- ./datagen | ./lz4c32 | ./lz4 -vdq > $(VOID)
+ ./datagen -g16KB | ./lz4c32 -9 | ./lz4c32 -vdq > $(VOID)
+ ./datagen -g16KB | ./lz4c32 -9 | ./lz4 -vdq > $(VOID)
+ ./datagen | ./lz4c32 | ./lz4c32 -vdq > $(VOID)
+ ./datagen | ./lz4c32 | ./lz4 -vdq > $(VOID)
./datagen -g256MB | ./lz4c32 -vqB4D | ./lz4c32 -vdq > $(VOID)
./datagen -g256MB | ./lz4c32 -vqB4D | ./lz4 -vdq > $(VOID)
./datagen -g6GB | ./lz4c32 -vqB5D | ./lz4c32 -vdq > $(VOID)
@@ -161,10 +166,12 @@ test-fuzzer32: fuzzer32
./fuzzer32 --no-prompt
test-mem: lz4 datagen
- ./datagen -g256MB > tmp
- valgrind ./lz4 -B4D -f tmp /dev/null
+ ./datagen -g16KB > tmp
+ valgrind ./lz4 -9 -BD -f tmp /dev/null
./datagen -g16MB > tmp
valgrind ./lz4 -9 -B5D -f tmp /dev/null
+ ./datagen -g256MB > tmp
+ valgrind ./lz4 -B4D -f tmp /dev/null
rm tmp
test-mem32: lz4c32 datagen