diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-09-01 14:59:24 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-09-01 14:59:24 (GMT) |
commit | fb6fece7704c7747d008c0afbc79d61671dcb1d6 (patch) | |
tree | 4d28c845226443ca5a63db4b0c188fe27023e44d /programs/Makefile | |
parent | 13f12aa0276748e24a7fc8b01e227c68b4d4f56e (diff) | |
download | lz4-fb6fece7704c7747d008c0afbc79d61671dcb1d6.zip lz4-fb6fece7704c7747d008c0afbc79d61671dcb1d6.tar.gz lz4-fb6fece7704c7747d008c0afbc79d61671dcb1d6.tar.bz2 |
Updated Makefile and .travis
Diffstat (limited to 'programs/Makefile')
-rw-r--r-- | programs/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/programs/Makefile b/programs/Makefile index 0a6f91a..332fd01 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -38,7 +38,7 @@ RELEASE ?= r132 DESTDIR ?= PREFIX ?= /usr/local -CFLAGS ?= -O3 # can select your own settings, for example : CFLAGS="-O2 -g" make +CFLAGS ?= -O3 # can select customized flags instead, for example : CFLAGS="-O2 -g" make CFLAGS += -I../lib -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic CPPFLAGS:= -DXXH_NAMESPACE=LZ4_ -DLZ4_VERSION=\"$(RELEASE)\" FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) @@ -59,9 +59,7 @@ endif # Select test target for Travis CI's Build Matrix -TRAVIS_TARGET:= $(LZ4_TRAVIS_CI_ENV) TEST_FILES := COPYING -TEST_TARGETS := test-native FUZZER_TIME := -T9mn @@ -148,8 +146,6 @@ test32: test-lz4c32 test-frametest32 test-fullbench32 test-fuzzer32 test-mem32 test-all: test test32 -test-travis: $(TRAVIS_TARGET) - test-lz4-sparse: lz4 datagen @echo "\n ---- test sparse file support ----" ./datagen -g5M -P100 > tmpSrc @@ -164,7 +160,7 @@ test-lz4-sparse: lz4 datagen ./lz4 tmpSrc | ./lz4 -dv --no-sparse > tmpNoSparse diff -s tmpSrc tmpNoSparse ls -ls tmp* - ./datagen -s1 -g1200007 -P100 | ./lz4 | ./lz4 -dv --sparse > tmpOdd # Odd size file (to not finish on an exact nb of blocks) + ./datagen -s1 -g1200007 -P100 | ./lz4 | ./lz4 -dv --sparse > tmpOdd # Odd size file (to generate non-full last block) ./datagen -s1 -g1200007 -P100 | diff -s - tmpOdd ls -ls tmpOdd @rm tmp* @@ -182,8 +178,6 @@ test-lz4-sparse: lz4 datagen diff tmp2M tmpR @rm tmp* - - test-lz4-contentSize: lz4 datagen @echo "\n ---- test original size support ----" ./datagen -g15M > tmp @@ -306,6 +300,6 @@ test-mem: lz4 datagen fuzzer frametest fullbench valgrind --leak-check=yes --error-exitcode=1 ./frametest -i256 test-mem32: lz4c32 datagen -# unfortunately, valgrind doesn't seem to work with non-native binary. If someone knows how to do a valgrind-test on a 32-bits exe with a 64-bits system... +# unfortunately, valgrind doesn't seem to work with non-native binary... endif |