Commit Graph

316 Commits

Author SHA1 Message Date
Yann Collet
7a407f64f9 show script lines during lib compilation 2018-09-29 23:13:01 -07:00
Yann Collet
542430e0ec fixed compilation issues under msys2/mingw64 2018-09-29 23:09:23 -07:00
Yann Collet
ae5a8c8bb6
Merge pull request #149 from Cyan4973/cppcheck
Added Cppcheck static analyzer tests
2018-09-17 16:31:50 -07:00
Yann Collet
79b52d94ba added cppcheck test
to Makefile and transitively to .travis.yml
2018-09-17 13:48:10 -07:00
Yann Collet
b39d9be348 minor unused last pointer change style warning 2018-09-17 12:51:12 -07:00
Yann Collet
00cc5e5b94
Merge pull request #148 from Cyan4973/Makefile
minor Makefile improvements
2018-09-17 12:42:17 -07:00
Yann Collet
3eb9d18ddb explicitly states when not checking a return value
although, cppcheck seems to overdo this warning,
as it also warns for function with `void` return type (??)
2018-09-17 12:39:18 -07:00
Yann Collet
68652df700 fixed ptr arithmetic on NULL 2018-09-17 12:28:59 -07:00
Yann Collet
df35d637c4 fixed minor printf formatting 2018-09-17 12:12:44 -07:00
Yann Collet
bce5f457b0 fixed pointer arithmetic on NULL 2018-09-17 12:10:03 -07:00
Yann Collet
fbd68c5f09 updated C++ test 2018-09-17 11:45:49 -07:00
Yann Collet
52a97a1a08 minor Makefile improvements
- more warnings enabled (inspired by zstd list)
- -fPIC is a CFLAGS rather than an LDFLAGS flag
(though it doesn't change the outcome, since everything is compiler in a single command line)
2018-09-17 11:26:39 -07:00
Yann Collet
5a46d72c85
Merge pull request #146 from ArnaudBienner/dev
Add syntax coloring to README.md examples
2018-08-21 14:42:42 -07:00
ArnaudBienner
aa76d203ca
Add syntax coloring to README.md examples 2018-08-20 17:19:16 +02:00
Yann Collet
3064d42e7d minor code comment editing 2018-04-18 14:27:00 -07:00
Yann Collet
d4eea23960 removed valgrind
and removed code coverage,
which can only work correctly when compiling only once
(here, we have multiple binaries created)
2018-04-01 19:43:36 -07:00
Yann Collet
63c8575d09 hash lib* instead of xxhsum*
to avoid hashing xxhsum.gcda,
which content change while running xxhsum
2018-04-01 15:57:02 -07:00
Yann Collet
1a4376afa8 attempt to add code coverage 2018-04-01 15:15:19 -07:00
Yann Collet
f50f0e7e8d
Merge pull request #132 from Cyan4973/stdint
fix #130
2018-03-26 18:47:34 -07:00
Yann Collet
76f7ea3782 use stdint.h inside xxhash.h
to avoid type mismatch in some specific circumstances
2018-03-21 18:24:19 -07:00
Yann Collet
0bb41ed04f
Merge pull request #131 from Cyan4973/windowsTests
Add Windows tests using Appveyor
2018-03-21 16:04:32 -07:00
Yann Collet
d4f3fffd4a appveyor: removed clang test
clang on Windows apparently defines _MSC_VER_ (?),
introducing Windows keyword
which are not compatible with `-std=c90` test.
2018-03-21 09:56:25 -07:00
Yann Collet
47128513a9 enlarge initial allocation
to be able to move start forward to an aligned position.
2018-03-21 06:18:58 -07:00
Yann Collet
8762a1d5f4 synthetic benchmark : ensure buffer alignment by 8
since `malloc()` only provides alignment by 4 when compiling with mingw32.
2018-03-21 06:16:16 -07:00
Yann Collet
dd43ae2100 usan tests can accept externally defined compiler
using CC=
2018-03-20 12:53:25 -07:00
Yann Collet
c7d815c2ad fixed usan warning 2018-03-20 12:51:36 -07:00
Yann Collet
d0f432ca7b usan tests warnings will now fail 2018-03-20 12:50:23 -07:00
Yann Collet
fd7ea04f49 make clean : added removal of Mac OS-X specific bin directories 2018-03-20 12:49:13 -07:00
Yann Collet
6c6ffbb27f fixed Windows test 2018-03-20 11:16:26 -07:00
Yann Collet
03be2d3347 libxxhash : -fPIC flag conditional (!Windows) 2018-03-20 11:13:30 -07:00
Yann Collet
6cbce878e0 fixed appveyor test script 2018-03-20 11:07:42 -07:00
Yann Collet
b574a1561d fix appveyor script
moved scan-build test to `test-all`
2018-03-20 11:04:30 -07:00
Yann Collet
1fc0c6e3eb moved usan tests to test-all 2018-03-20 11:00:48 -07:00
Yann Collet
376ffba6ff changed xxhsum multi-file test
so that it doesn't grab directories
2018-03-20 10:58:09 -07:00
Yann Collet
7d6a996d5d changed multi-file test
so that it doesn't grab directories
2018-03-20 10:55:28 -07:00
Yann Collet
343a471516 removed test32 from all
platform-specific
2018-03-20 10:52:31 -07:00
Yann Collet
c3557bcbfd added target make check
`make test` does not contain platform-specific tests (32-bit, arm, etc.)

`make test-all` still includes them.
2018-03-20 10:50:45 -07:00
Yann Collet
4af72306da removed mingw32 specific declaration 2018-03-20 10:34:08 -07:00
Yann Collet
0af67e6061 moved compilation variables after make
since Windows is not compatible with unix' environment variables
2018-03-20 10:24:40 -07:00
Yann Collet
2d967356a3 appveyor Windows tests : added -Werror flag
so that compilation warnings trigger an error
2018-03-20 10:23:09 -07:00
Yann Collet
5d41eb8184 added a return statement in an unreachable place
as mingw compiler complains without it (believes it could be reached).
2018-03-20 10:19:05 -07:00
Yann Collet
0ee84d378d removed comment 2018-03-20 10:14:40 -07:00
Yann Collet
73daa8c9b4 changed comment 2018-03-20 10:14:00 -07:00
Yann Collet
735e0e38e5 added appveyor script
for Windows CI tests
2018-03-20 10:12:50 -07:00
Yann Collet
3f97cdf210
Merge pull request #93 from nemequ/dev
cmake: rewrite based on LZ4's CMake support
2018-03-19 18:44:50 -07:00
Evan Nemerson
530ade1f59 cmake: rewrite based on LZ4's CMake support 2018-03-19 18:34:24 -07:00
Yann Collet
14705e3c61 cmake: dynamic determination of library version 2018-03-18 17:37:16 -07:00
Yann Collet
b2fad1787d added trailingWhitespace test as make target 2018-03-18 17:17:02 -07:00
Yann Collet
d88fe9010d README: minor update
link to article
2018-03-14 23:54:51 -07:00
Yann Collet
1c88120068 minor readme correction 2018-03-13 17:38:25 -07:00