You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2017/07/24 17:49:53 UTC

[51/51] [partial] orc git commit: ORC-204 Update and use CMake External Project to build C++ compression libraries.

ORC-204 Update and use CMake External Project to build C++ compression
libraries.

Fixes #135

Signed-off-by: Owen O'Malley <om...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/590245a0
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/590245a0
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/590245a0

Branch: refs/heads/master
Commit: 590245a0b876f08d278cef26f8d4bcc1e483789f
Parents: aa67697
Author: Deepak Majeti <de...@hpe.com>
Authored: Mon Jul 10 12:43:47 2017 -0400
Committer: Owen O'Malley <om...@apache.org>
Committed: Mon Jul 24 10:48:25 2017 -0700

----------------------------------------------------------------------
 CMakeLists.txt                                  |    23 +-
 c++/libs/CMakeLists.txt                         |     3 -
 c++/libs/lz4-r131/CMakeLists.txt                |    23 -
 c++/libs/lz4-r131/NEWS                          |   178 -
 c++/libs/lz4-r131/README.md                     |    88 -
 c++/libs/lz4-r131/lib/LICENSE                   |    24 -
 c++/libs/lz4-r131/lib/Makefile                  |   117 -
 c++/libs/lz4-r131/lib/README.md                 |    21 -
 c++/libs/lz4-r131/lib/liblz4.pc.in              |    14 -
 c++/libs/lz4-r131/lib/lz4.c                     |  1516 --
 c++/libs/lz4-r131/lib/lz4.h                     |   360 -
 c++/libs/lz4-r131/lib/lz4frame.c                |  1479 --
 c++/libs/lz4-r131/lib/lz4frame.h                |   303 -
 c++/libs/lz4-r131/lib/lz4frame_static.h         |    81 -
 c++/libs/lz4-r131/lib/lz4hc.c                   |   731 -
 c++/libs/lz4-r131/lib/lz4hc.h                   |   189 -
 c++/libs/lz4-r131/lib/xxhash.c                  |   915 -
 c++/libs/lz4-r131/lib/xxhash.h                  |   192 -
 c++/libs/lz4-r131/lz4_Block_format.md           |   127 -
 c++/libs/lz4-r131/lz4_Frame_format.md           |   385 -
 c++/libs/snappy-1.1.2/AUTHORS                   |     1 -
 c++/libs/snappy-1.1.2/CMakeLists.txt            |    20 -
 c++/libs/snappy-1.1.2/COPYING                   |    54 -
 c++/libs/snappy-1.1.2/ChangeLog                 |  1916 --
 c++/libs/snappy-1.1.2/INSTALL                   |   370 -
 c++/libs/snappy-1.1.2/Makefile.am               |    23 -
 c++/libs/snappy-1.1.2/Makefile.in               |   957 -
 c++/libs/snappy-1.1.2/NEWS                      |   128 -
 c++/libs/snappy-1.1.2/README                    |   135 -
 c++/libs/snappy-1.1.2/aclocal.m4                |  9738 ---------
 c++/libs/snappy-1.1.2/autogen.sh                |     7 -
 c++/libs/snappy-1.1.2/config.guess              |  1530 --
 c++/libs/snappy-1.1.2/config.h                  |   125 -
 c++/libs/snappy-1.1.2/config.h.in               |   124 -
 c++/libs/snappy-1.1.2/config.sub                |  1773 --
 c++/libs/snappy-1.1.2/configure                 | 18851 -----------------
 c++/libs/snappy-1.1.2/configure.ac              |   133 -
 c++/libs/snappy-1.1.2/depcomp                   |   688 -
 c++/libs/snappy-1.1.2/format_description.txt    |   110 -
 c++/libs/snappy-1.1.2/framing_format.txt        |   135 -
 c++/libs/snappy-1.1.2/install-sh                |   527 -
 c++/libs/snappy-1.1.2/ltmain.sh                 |  9661 ---------
 c++/libs/snappy-1.1.2/m4/gtest.m4               |    74 -
 c++/libs/snappy-1.1.2/missing                   |   331 -
 c++/libs/snappy-1.1.2/snappy-c.cc               |    90 -
 c++/libs/snappy-1.1.2/snappy-c.h                |   138 -
 c++/libs/snappy-1.1.2/snappy-internal.h         |   150 -
 c++/libs/snappy-1.1.2/snappy-sinksource.cc      |    71 -
 c++/libs/snappy-1.1.2/snappy-sinksource.h       |   137 -
 c++/libs/snappy-1.1.2/snappy-stubs-internal.cc  |    42 -
 c++/libs/snappy-1.1.2/snappy-stubs-internal.h   |   491 -
 c++/libs/snappy-1.1.2/snappy-stubs-public.h     |    98 -
 c++/libs/snappy-1.1.2/snappy-stubs-public.h.in  |    98 -
 c++/libs/snappy-1.1.2/snappy-test.cc            |   606 -
 c++/libs/snappy-1.1.2/snappy-test.h             |   582 -
 c++/libs/snappy-1.1.2/snappy.cc                 |  1306 --
 c++/libs/snappy-1.1.2/snappy.h                  |   184 -
 c++/libs/snappy-1.1.2/snappy_unittest.cc        |  1355 --
 c++/libs/snappy-1.1.2/testdata/alice29.txt      |  3609 ----
 c++/libs/snappy-1.1.2/testdata/asyoulik.txt     |  4122 ----
 c++/libs/snappy-1.1.2/testdata/html             |     1 -
 c++/libs/snappy-1.1.2/testdata/html_x_4         |     1 -
 c++/libs/snappy-1.1.2/testdata/lcet10.txt       |  7519 -------
 c++/libs/snappy-1.1.2/testdata/paper-100k.pdf   |   598 -
 c++/libs/snappy-1.1.2/testdata/plrabn12.txt     | 10699 ----------
 c++/libs/snappy-1.1.2/testdata/urls.10K         | 10000 ---------
 c++/libs/zlib-1.2.8/CMakeLists.txt              |   200 -
 c++/libs/zlib-1.2.8/ChangeLog                   |  1472 --
 c++/libs/zlib-1.2.8/FAQ                         |   368 -
 c++/libs/zlib-1.2.8/INDEX                       |    68 -
 c++/libs/zlib-1.2.8/Makefile                    |     5 -
 c++/libs/zlib-1.2.8/Makefile.in                 |   288 -
 c++/libs/zlib-1.2.8/README                      |   115 -
 c++/libs/zlib-1.2.8/adler32.c                   |   179 -
 c++/libs/zlib-1.2.8/amiga/Makefile.pup          |    69 -
 c++/libs/zlib-1.2.8/amiga/Makefile.sas          |    68 -
 c++/libs/zlib-1.2.8/as400/bndsrc                |   215 -
 c++/libs/zlib-1.2.8/as400/compile.clp           |   110 -
 c++/libs/zlib-1.2.8/as400/readme.txt            |   115 -
 c++/libs/zlib-1.2.8/as400/zlib.inc              |   451 -
 c++/libs/zlib-1.2.8/compress.c                  |    80 -
 c++/libs/zlib-1.2.8/configure                   |   831 -
 c++/libs/zlib-1.2.8/contrib/README.contrib      |    78 -
 c++/libs/zlib-1.2.8/contrib/ada/buffer_demo.adb |   106 -
 c++/libs/zlib-1.2.8/contrib/ada/mtest.adb       |   156 -
 c++/libs/zlib-1.2.8/contrib/ada/read.adb        |   156 -
 c++/libs/zlib-1.2.8/contrib/ada/readme.txt      |    65 -
 c++/libs/zlib-1.2.8/contrib/ada/test.adb        |   463 -
 .../zlib-1.2.8/contrib/ada/zlib-streams.adb     |   225 -
 .../zlib-1.2.8/contrib/ada/zlib-streams.ads     |   114 -
 c++/libs/zlib-1.2.8/contrib/ada/zlib-thin.adb   |   141 -
 c++/libs/zlib-1.2.8/contrib/ada/zlib-thin.ads   |   450 -
 c++/libs/zlib-1.2.8/contrib/ada/zlib.adb        |   701 -
 c++/libs/zlib-1.2.8/contrib/ada/zlib.ads        |   328 -
 c++/libs/zlib-1.2.8/contrib/ada/zlib.gpr        |    20 -
 c++/libs/zlib-1.2.8/contrib/amd64/amd64-match.S |   452 -
 c++/libs/zlib-1.2.8/contrib/asm686/README.686   |    51 -
 c++/libs/zlib-1.2.8/contrib/asm686/match.S      |   357 -
 c++/libs/zlib-1.2.8/contrib/blast/Makefile      |     8 -
 c++/libs/zlib-1.2.8/contrib/blast/README        |     4 -
 c++/libs/zlib-1.2.8/contrib/blast/blast.c       |   446 -
 c++/libs/zlib-1.2.8/contrib/blast/blast.h       |    75 -
 c++/libs/zlib-1.2.8/contrib/blast/test.txt      |     1 -
 c++/libs/zlib-1.2.8/contrib/delphi/ZLib.pas     |   557 -
 .../zlib-1.2.8/contrib/delphi/ZLibConst.pas     |    11 -
 c++/libs/zlib-1.2.8/contrib/delphi/readme.txt   |    76 -
 c++/libs/zlib-1.2.8/contrib/delphi/zlibd32.mak  |    99 -
 .../zlib-1.2.8/contrib/dotzlib/DotZLib.build    |    33 -
 c++/libs/zlib-1.2.8/contrib/dotzlib/DotZLib.sln |    21 -
 .../contrib/dotzlib/DotZLib/AssemblyInfo.cs     |    58 -
 .../contrib/dotzlib/DotZLib/ChecksumImpl.cs     |   202 -
 .../contrib/dotzlib/DotZLib/CircularBuffer.cs   |    83 -
 .../contrib/dotzlib/DotZLib/CodecBase.cs        |   198 -
 .../contrib/dotzlib/DotZLib/Deflater.cs         |   106 -
 .../contrib/dotzlib/DotZLib/DotZLib.cs          |   288 -
 .../contrib/dotzlib/DotZLib/DotZLib.csproj      |   141 -
 .../contrib/dotzlib/DotZLib/GZipStream.cs       |   301 -
 .../contrib/dotzlib/DotZLib/Inflater.cs         |   105 -
 .../contrib/dotzlib/DotZLib/UnitTests.cs        |   274 -
 .../zlib-1.2.8/contrib/dotzlib/LICENSE_1_0.txt  |    23 -
 c++/libs/zlib-1.2.8/contrib/dotzlib/readme.txt  |    58 -
 .../zlib-1.2.8/contrib/gcc_gvmat64/gvmat64.S    |   574 -
 c++/libs/zlib-1.2.8/contrib/infback9/README     |     1 -
 c++/libs/zlib-1.2.8/contrib/infback9/infback9.c |   615 -
 c++/libs/zlib-1.2.8/contrib/infback9/infback9.h |    37 -
 c++/libs/zlib-1.2.8/contrib/infback9/inffix9.h  |   107 -
 c++/libs/zlib-1.2.8/contrib/infback9/inflate9.h |    47 -
 c++/libs/zlib-1.2.8/contrib/infback9/inftree9.c |   324 -
 c++/libs/zlib-1.2.8/contrib/infback9/inftree9.h |    61 -
 .../zlib-1.2.8/contrib/inflate86/inffas86.c     |  1157 -
 c++/libs/zlib-1.2.8/contrib/inflate86/inffast.S |  1368 --
 c++/libs/zlib-1.2.8/contrib/iostream/test.cpp   |    24 -
 .../zlib-1.2.8/contrib/iostream/zfstream.cpp    |   329 -
 c++/libs/zlib-1.2.8/contrib/iostream/zfstream.h |   128 -
 c++/libs/zlib-1.2.8/contrib/iostream2/zstream.h |   307 -
 .../contrib/iostream2/zstream_test.cpp          |    25 -
 c++/libs/zlib-1.2.8/contrib/iostream3/README    |    35 -
 c++/libs/zlib-1.2.8/contrib/iostream3/TODO      |    17 -
 c++/libs/zlib-1.2.8/contrib/iostream3/test.cc   |    50 -
 .../zlib-1.2.8/contrib/iostream3/zfstream.cc    |   479 -
 .../zlib-1.2.8/contrib/iostream3/zfstream.h     |   466 -
 .../zlib-1.2.8/contrib/masmx64/bld_ml64.bat     |     2 -
 c++/libs/zlib-1.2.8/contrib/masmx64/gvmat64.asm |   553 -
 .../zlib-1.2.8/contrib/masmx64/inffas8664.c     |   186 -
 .../zlib-1.2.8/contrib/masmx64/inffasx64.asm    |   396 -
 c++/libs/zlib-1.2.8/contrib/masmx64/readme.txt  |    31 -
 .../zlib-1.2.8/contrib/masmx86/bld_ml32.bat     |     2 -
 .../zlib-1.2.8/contrib/masmx86/inffas32.asm     |  1080 -
 .../zlib-1.2.8/contrib/masmx86/match686.asm     |   479 -
 c++/libs/zlib-1.2.8/contrib/masmx86/readme.txt  |    27 -
 c++/libs/zlib-1.2.8/contrib/minizip/Makefile    |    25 -
 c++/libs/zlib-1.2.8/contrib/minizip/Makefile.am |    45 -
 .../contrib/minizip/MiniZip64_Changes.txt       |     6 -
 .../contrib/minizip/MiniZip64_info.txt          |    74 -
 .../zlib-1.2.8/contrib/minizip/configure.ac     |    32 -
 c++/libs/zlib-1.2.8/contrib/minizip/crypt.h     |   131 -
 c++/libs/zlib-1.2.8/contrib/minizip/ioapi.c     |   247 -
 c++/libs/zlib-1.2.8/contrib/minizip/ioapi.h     |   208 -
 c++/libs/zlib-1.2.8/contrib/minizip/iowin32.c   |   461 -
 c++/libs/zlib-1.2.8/contrib/minizip/iowin32.h   |    28 -
 .../zlib-1.2.8/contrib/minizip/make_vms.com     |    25 -
 c++/libs/zlib-1.2.8/contrib/minizip/miniunz.c   |   660 -
 c++/libs/zlib-1.2.8/contrib/minizip/miniunzip.1 |    63 -
 c++/libs/zlib-1.2.8/contrib/minizip/minizip.1   |    46 -
 c++/libs/zlib-1.2.8/contrib/minizip/minizip.c   |   520 -
 .../zlib-1.2.8/contrib/minizip/minizip.pc.in    |    12 -
 c++/libs/zlib-1.2.8/contrib/minizip/mztools.c   |   291 -
 c++/libs/zlib-1.2.8/contrib/minizip/mztools.h   |    37 -
 c++/libs/zlib-1.2.8/contrib/minizip/unzip.c     |  2125 --
 c++/libs/zlib-1.2.8/contrib/minizip/unzip.h     |   437 -
 c++/libs/zlib-1.2.8/contrib/minizip/zip.c       |  2007 --
 c++/libs/zlib-1.2.8/contrib/minizip/zip.h       |   362 -
 c++/libs/zlib-1.2.8/contrib/pascal/example.pas  |   599 -
 c++/libs/zlib-1.2.8/contrib/pascal/readme.txt   |    76 -
 c++/libs/zlib-1.2.8/contrib/pascal/zlibd32.mak  |    99 -
 c++/libs/zlib-1.2.8/contrib/pascal/zlibpas.pas  |   276 -
 c++/libs/zlib-1.2.8/contrib/puff/Makefile       |    42 -
 c++/libs/zlib-1.2.8/contrib/puff/README         |    63 -
 c++/libs/zlib-1.2.8/contrib/puff/puff.c         |   840 -
 c++/libs/zlib-1.2.8/contrib/puff/puff.h         |    35 -
 c++/libs/zlib-1.2.8/contrib/puff/pufftest.c     |   165 -
 c++/libs/zlib-1.2.8/contrib/testzlib/testzlib.c |   275 -
 .../zlib-1.2.8/contrib/testzlib/testzlib.txt    |    10 -
 c++/libs/zlib-1.2.8/contrib/untgz/Makefile      |    14 -
 c++/libs/zlib-1.2.8/contrib/untgz/Makefile.msc  |    17 -
 c++/libs/zlib-1.2.8/contrib/untgz/untgz.c       |   674 -
 c++/libs/zlib-1.2.8/contrib/vstudio/readme.txt  |    65 -
 .../contrib/vstudio/vc10/miniunz.vcxproj        |   310 -
 .../vstudio/vc10/miniunz.vcxproj.filters        |    22 -
 .../contrib/vstudio/vc10/minizip.vcxproj        |   307 -
 .../vstudio/vc10/minizip.vcxproj.filters        |    22 -
 .../contrib/vstudio/vc10/testzlib.vcxproj       |   420 -
 .../vstudio/vc10/testzlib.vcxproj.filters       |    58 -
 .../contrib/vstudio/vc10/testzlibdll.vcxproj    |   310 -
 .../vstudio/vc10/testzlibdll.vcxproj.filters    |    22 -
 .../zlib-1.2.8/contrib/vstudio/vc10/zlib.rc     |    32 -
 .../contrib/vstudio/vc10/zlibstat.vcxproj       |   473 -
 .../vstudio/vc10/zlibstat.vcxproj.filters       |    77 -
 .../zlib-1.2.8/contrib/vstudio/vc10/zlibvc.def  |   143 -
 .../zlib-1.2.8/contrib/vstudio/vc10/zlibvc.sln  |   135 -
 .../contrib/vstudio/vc10/zlibvc.vcxproj         |   657 -
 .../contrib/vstudio/vc10/zlibvc.vcxproj.filters |   118 -
 .../contrib/vstudio/vc11/miniunz.vcxproj        |   314 -
 .../contrib/vstudio/vc11/minizip.vcxproj        |   311 -
 .../contrib/vstudio/vc11/testzlib.vcxproj       |   426 -
 .../contrib/vstudio/vc11/testzlibdll.vcxproj    |   314 -
 .../zlib-1.2.8/contrib/vstudio/vc11/zlib.rc     |    32 -
 .../contrib/vstudio/vc11/zlibstat.vcxproj       |   464 -
 .../zlib-1.2.8/contrib/vstudio/vc11/zlibvc.def  |   143 -
 .../zlib-1.2.8/contrib/vstudio/vc11/zlibvc.sln  |   117 -
 .../contrib/vstudio/vc11/zlibvc.vcxproj         |   688 -
 .../contrib/vstudio/vc9/miniunz.vcproj          |   565 -
 .../contrib/vstudio/vc9/minizip.vcproj          |   562 -
 .../contrib/vstudio/vc9/testzlib.vcproj         |   852 -
 .../contrib/vstudio/vc9/testzlibdll.vcproj      |   565 -
 c++/libs/zlib-1.2.8/contrib/vstudio/vc9/zlib.rc |    32 -
 .../contrib/vstudio/vc9/zlibstat.vcproj         |   835 -
 .../zlib-1.2.8/contrib/vstudio/vc9/zlibvc.def   |   143 -
 .../zlib-1.2.8/contrib/vstudio/vc9/zlibvc.sln   |   144 -
 .../contrib/vstudio/vc9/zlibvc.vcproj           |  1156 -
 c++/libs/zlib-1.2.8/crc32.c                     |   425 -
 c++/libs/zlib-1.2.8/crc32.h                     |   441 -
 c++/libs/zlib-1.2.8/deflate.c                   |  1967 --
 c++/libs/zlib-1.2.8/deflate.h                   |   346 -
 c++/libs/zlib-1.2.8/doc/algorithm.txt           |   209 -
 c++/libs/zlib-1.2.8/doc/rfc1950.txt             |   619 -
 c++/libs/zlib-1.2.8/doc/rfc1951.txt             |   955 -
 c++/libs/zlib-1.2.8/doc/rfc1952.txt             |   675 -
 c++/libs/zlib-1.2.8/doc/txtvsbin.txt            |   107 -
 c++/libs/zlib-1.2.8/examples/README.examples    |    49 -
 c++/libs/zlib-1.2.8/examples/enough.c           |   572 -
 c++/libs/zlib-1.2.8/examples/fitblk.c           |   233 -
 c++/libs/zlib-1.2.8/examples/gun.c              |   702 -
 c++/libs/zlib-1.2.8/examples/gzappend.c         |   504 -
 c++/libs/zlib-1.2.8/examples/gzjoin.c           |   449 -
 c++/libs/zlib-1.2.8/examples/gzlog.c            |  1059 -
 c++/libs/zlib-1.2.8/examples/gzlog.h            |    91 -
 c++/libs/zlib-1.2.8/examples/zlib_how.html      |   545 -
 c++/libs/zlib-1.2.8/examples/zpipe.c            |   205 -
 c++/libs/zlib-1.2.8/examples/zran.c             |   409 -
 c++/libs/zlib-1.2.8/gzclose.c                   |    25 -
 c++/libs/zlib-1.2.8/gzguts.h                    |   209 -
 c++/libs/zlib-1.2.8/gzlib.c                     |   634 -
 c++/libs/zlib-1.2.8/gzread.c                    |   594 -
 c++/libs/zlib-1.2.8/gzwrite.c                   |   577 -
 c++/libs/zlib-1.2.8/include/zconf.h             |   513 -
 c++/libs/zlib-1.2.8/include/zlib.h              |  1768 --
 c++/libs/zlib-1.2.8/infback.c                   |   640 -
 c++/libs/zlib-1.2.8/inffast.c                   |   340 -
 c++/libs/zlib-1.2.8/inffast.h                   |    11 -
 c++/libs/zlib-1.2.8/inffixed.h                  |    94 -
 c++/libs/zlib-1.2.8/inflate.c                   |  1512 --
 c++/libs/zlib-1.2.8/inflate.h                   |   122 -
 c++/libs/zlib-1.2.8/inftrees.c                  |   306 -
 c++/libs/zlib-1.2.8/inftrees.h                  |    62 -
 c++/libs/zlib-1.2.8/make_vms.com                |   867 -
 c++/libs/zlib-1.2.8/msdos/Makefile.bor          |   115 -
 c++/libs/zlib-1.2.8/msdos/Makefile.dj2          |   104 -
 c++/libs/zlib-1.2.8/msdos/Makefile.emx          |    69 -
 c++/libs/zlib-1.2.8/msdos/Makefile.msc          |   112 -
 c++/libs/zlib-1.2.8/msdos/Makefile.tc           |   100 -
 c++/libs/zlib-1.2.8/nintendods/Makefile         |   126 -
 c++/libs/zlib-1.2.8/nintendods/README           |     5 -
 c++/libs/zlib-1.2.8/old/Makefile.emx            |    69 -
 c++/libs/zlib-1.2.8/old/Makefile.riscos         |   151 -
 c++/libs/zlib-1.2.8/old/README                  |     3 -
 c++/libs/zlib-1.2.8/old/descrip.mms             |    48 -
 c++/libs/zlib-1.2.8/old/os2/Makefile.os2        |   136 -
 c++/libs/zlib-1.2.8/old/os2/zlib.def            |    51 -
 c++/libs/zlib-1.2.8/old/visual-basic.txt        |   160 -
 c++/libs/zlib-1.2.8/qnx/package.qpg             |   141 -
 c++/libs/zlib-1.2.8/test/example.c              |   601 -
 c++/libs/zlib-1.2.8/test/infcover.c             |   671 -
 c++/libs/zlib-1.2.8/test/minigzip.c             |   651 -
 c++/libs/zlib-1.2.8/treebuild.xml               |   116 -
 c++/libs/zlib-1.2.8/trees.c                     |  1226 --
 c++/libs/zlib-1.2.8/trees.h                     |   128 -
 c++/libs/zlib-1.2.8/uncompr.c                   |    59 -
 c++/libs/zlib-1.2.8/watcom/watcom_f.mak         |    43 -
 c++/libs/zlib-1.2.8/watcom/watcom_l.mak         |    43 -
 c++/libs/zlib-1.2.8/win32/DLL_FAQ.txt           |   397 -
 c++/libs/zlib-1.2.8/win32/Makefile.bor          |   110 -
 c++/libs/zlib-1.2.8/win32/Makefile.gcc          |   182 -
 c++/libs/zlib-1.2.8/win32/Makefile.msc          |   163 -
 c++/libs/zlib-1.2.8/win32/README-WIN32.txt      |   103 -
 c++/libs/zlib-1.2.8/win32/VisualC.txt           |     3 -
 c++/libs/zlib-1.2.8/win32/zlib.def              |    86 -
 c++/libs/zlib-1.2.8/win32/zlib1.rc              |    40 -
 c++/libs/zlib-1.2.8/zconf.h.cmakein             |   513 -
 c++/libs/zlib-1.2.8/zconf.h.in                  |   511 -
 c++/libs/zlib-1.2.8/zlib.3                      |   151 -
 c++/libs/zlib-1.2.8/zlib.h                      |  1768 --
 c++/libs/zlib-1.2.8/zlib.map                    |    83 -
 c++/libs/zlib-1.2.8/zlib.pc.cmakein             |    13 -
 c++/libs/zlib-1.2.8/zlib.pc.in                  |    13 -
 c++/libs/zlib-1.2.8/zlib2ansi                   |   152 -
 c++/libs/zlib-1.2.8/zutil.c                     |   324 -
 c++/libs/zlib-1.2.8/zutil.h                     |   253 -
 cmake_modules/ThirdpartyToolchain.cmake         |   101 +
 299 files changed, 108 insertions(+), 167132 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9511f5b..4cb178f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,10 @@ SET(CPACK_PACKAGE_VERSION_MAJOR "1")
 SET(CPACK_PACKAGE_VERSION_MINOR "5")
 SET(CPACK_PACKAGE_VERSION_PATCH "0-SNAPSHOT")
 SET(ORC_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake_modules")
+set (LZ4_VERSION "1.7.5")
+set (SNAPPY_VERSION "1.1.4")
+set (ZLIB_VERSION "1.2.11")
 
 option (BUILD_JAVA
     "Include ORC Java library in the build process"
@@ -36,6 +40,7 @@ endif ()
 SET(CPACK_GENERATOR "TGZ")
 
 INCLUDE(CPack)
+INCLUDE(ExternalProject)
 
 set (GMOCK_VERSION "1.7.0")
 set (GMOCK_INCLUDE_DIRS
@@ -47,28 +52,12 @@ if(NOT APPLE AND NOT MSVC)
   list (APPEND GMOCK_LIBRARIES pthread)
 endif(NOT APPLE AND NOT MSVC)
 
-set (LZ4_VERSION "r131")
-set (LZ4_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/c++/libs/lz4-${LZ4_VERSION}/lib")
-set (LZ4_LIBRARIES lz4)
-
 set (PROTOBUF_VERSION "2.6.0")
 set (PROTOBUF_INCLUDE_DIRS
      "${CMAKE_SOURCE_DIR}/c++/libs/protobuf-${PROTOBUF_VERSION}/src")
 set (PROTOBUF_LIBRARIES protobuf)
 set (PROTOBUF_EXECUTABLE "${CMAKE_BINARY_DIR}/c++/libs/protobuf-${PROTOBUF_VERSION}/protoc")
 
-set (SNAPPY_VERSION "1.1.2")
-set (SNAPPY_INCLUDE_DIRS
-     "${CMAKE_SOURCE_DIR}/c++/libs/snappy-${SNAPPY_VERSION}")
-set (SNAPPY_LIBRARIES snappy)
-
-set (ZLIB_VERSION "1.2.8")
-set (ZLIB_INCLUDE_DIRS
-     "${CMAKE_SOURCE_DIR}/c++/libs/zlib-${ZLIB_VERSION}"
-     "${CMAKE_BINARY_DIR}/c++/libs/zlib-${ZLIB_VERSION}"
-    )
-set (ZLIB_LIBRARIES zlib)
-
 #
 # Compiler specific flags
 #
@@ -108,6 +97,8 @@ endif ()
 
 enable_testing()
 
+INCLUDE(ThirdpartyToolchain)
+
 set (EXAMPLE_DIRECTORY ${CMAKE_SOURCE_DIR}/examples)
 
 add_subdirectory(c++)

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/c++/libs/CMakeLists.txt b/c++/libs/CMakeLists.txt
index e298f0d..9657f8b 100644
--- a/c++/libs/CMakeLists.txt
+++ b/c++/libs/CMakeLists.txt
@@ -19,7 +19,4 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
 endif ()
 
 add_subdirectory(gmock-${GMOCK_VERSION})
-add_subdirectory(zlib-${ZLIB_VERSION})
 add_subdirectory(protobuf-${PROTOBUF_VERSION})
-add_subdirectory(snappy-${SNAPPY_VERSION})
-add_subdirectory(lz4-${LZ4_VERSION})

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/lz4-r131/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/c++/libs/lz4-r131/CMakeLists.txt b/c++/libs/lz4-r131/CMakeLists.txt
deleted file mode 100644
index 832b6c3..0000000
--- a/c++/libs/lz4-r131/CMakeLists.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-cmake_minimum_required(VERSION 2.4.4)
-
-project(lz4 C)
-
-set(VERSION "r131")
-
-add_library (lz4 STATIC
-  lib/lz4.c
-  )
-
-install(TARGETS lz4 DESTINATION lib)

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/lz4-r131/NEWS
----------------------------------------------------------------------
diff --git a/c++/libs/lz4-r131/NEWS b/c++/libs/lz4-r131/NEWS
deleted file mode 100644
index 781687d..0000000
--- a/c++/libs/lz4-r131/NEWS
+++ /dev/null
@@ -1,178 +0,0 @@
-r131
-New    : Dos/DJGPP target, thanks to Louis Santillan (#114)
-Added  : Example using lz4frame library, by Zbigniew Jędrzejewski-Szmek (#118)
-Changed: xxhash symbols are modified (namespace emulation) within liblz4
-
-r130:
-Fixed  : incompatibility sparse mode vs console, reported by Yongwoon Cho (#105)
-Fixed  : LZ4IO exits too early when frame crc not present, reported by Yongwoon Cho (#106)
-Fixed  : incompatibility sparse mode vs append mode, reported by Takayuki Matsuoka (#110)
-Performance fix : big compression speed boost for clang (+30%)
-New    : cross-version test, by Takayuki Matsuoka
-
-r129:
-Added  : LZ4_compress_fast(), LZ4_compress_fast_continue()
-Added  : LZ4_compress_destSize()
-Changed: New lz4 and lz4hc compression API. Previous function prototypes still supported.
-Changed: Sparse file support enabled by default
-New    : LZ4 CLI improved performance compressing/decompressing multiple files (#86, kind contribution from Kyle J. Harper & Takayuki Matsuoka)
-Fixed  : GCC 4.9+ optimization bug - Reported by Markus Trippelsdorf, Greg Slazinski & Evan Nemerson
-Changed: Enums converted to LZ4F_ namespace convention - by Takayuki Matsuoka
-Added  : AppVeyor CI environment, for Visual tests - Suggested by Takayuki Matsuoka
-Modified:Obsolete functions generate warnings - Suggested by Evan Nemerson, contributed by Takayuki Matsuoka
-Fixed  : Bug #75 (unfinished stream), reported by Yongwoon Cho
-Updated: Documentation converted to MarkDown format
-
-r128:
-New    : lz4cli sparse file support (Requested by Neil Wilson, and contributed by Takayuki Matsuoka)
-New    : command -m, to compress multiple files in a single command (suggested by Kyle J. Harper)
-Fixed  : Restored lz4hc compression ratio (slightly lower since r124)
-New    : lz4 cli supports long commands (suggested by Takayuki Matsuoka)
-New    : lz4frame & lz4cli frame content size support
-New    : lz4frame supports skippable frames, as requested by Sergey Cherepanov
-Changed: Default "make install" directory is /usr/local, as notified by Ron Johnson
-New    : lz4 cli supports "pass-through" mode, requested by Neil Wilson
-New    : datagen can generate sparse files
-New    : scan-build tests, thanks to kind help by Takayuki Matsuoka
-New    : g++ compatibility tests
-New    : arm cross-compilation test, thanks to kind help by Takayuki Matsuoka
-Fixed  : Fuzzer + frametest compatibility with NetBSD (issue #48, reported by Thomas Klausner)
-Added  : Visual project directory
-Updated: Man page & Specification
-
-r127:
-N/A   : added a file on SVN
-
-r126:
-New   : lz4frame API is now integrated into liblz4
-Fixed : GCC 4.9 bug on highest performance settings, reported by Greg Slazinski
-Fixed : bug within LZ4 HC streaming mode, reported by James Boyle
-Fixed : older compiler don't like nameless unions, reported by Cheyi Lin
-Changed : lz4 is C90 compatible
-Changed : added -pedantic option, fixed a few mminor warnings
-
-r125:
-Changed : endian and alignment code
-Changed : directory structure : new "lib" directory
-Updated : lz4io, now uses lz4frame
-Improved: slightly improved decoding speed
-Fixed : LZ4_compress_limitedOutput(); Special thanks to Christopher Speller !
-Fixed : some alignment warnings under clang
-Fixed : deprecated function LZ4_slideInputBufferHC()
-
-r124:
-New : LZ4 HC streaming mode
-Fixed : LZ4F_compressBound() using null preferencesPtr
-Updated : xxHash to r38
-Updated library number, to 1.4.0
-
-r123:
-Added : experimental lz4frame API, thanks to Takayuki Matsuoka and Christopher Jackson for testings
-Fix : s390x support, thanks to Nobuhiro Iwamatsu
-Fix : test mode (-t) no longer requires confirmation, thanks to Thary Nguyen
-
-r122:
-Fix : AIX & AIX64 support (SamG)
-Fix : mips 64-bits support (lew van)
-Added : Examples directory, using code examples from Takayuki Matsuoka
-Updated : Framing specification, to v1.4.1
-Updated : xxHash, to r36
-
-r121:
-Added : Makefile : install for kFreeBSD and Hurd (Nobuhiro Iwamatsu)
-Fix : Makefile : install for OS-X and BSD, thanks to Takayuki Matsuoka
-
-r120:
-Modified : Streaming API, using strong types
-Added : LZ4_versionNumber(), thanks to Takayuki Matsuoka
-Fix : OS-X : library install name, thanks to Clemens Lang
-Updated : Makefile : synchronize library version number with lz4.h, thanks to Takayuki Matsuoka
-Updated : Makefile : stricter compilation flags
-Added : pkg-config, thanks to Zbigniew Jędrzejewski-Szmek (issue 135)
-Makefile : lz4-test only test native binaries, as suggested by Michał Górny (issue 136)
-Updated : xxHash to r35
-
-r119:
-Fix : Issue 134 : extended malicious address space overflow in 32-bits mode for some specific configurations
-
-r118:
-New : LZ4 Streaming API (Fast version), special thanks to Takayuki Matsuoka
-New : datagen : parametrable synthetic data generator for tests
-Improved : fuzzer, support more test cases, more parameters, ability to jump to specific test
-fix : support ppc64le platform (issue 131)
-fix : Issue 52 (malicious address space overflow in 32-bits mode when using large custom format)
-fix : Makefile : minor issue 130 : header files permissions
-
-r117:
-Added : man pages for lz4c and lz4cat
-Added : automated tests on Travis, thanks to Takayuki Matsuoka !
-fix : block-dependency command line (issue 127)
-fix : lz4fullbench (issue 128)
-
-r116:
-hotfix (issue 124 & 125)
-
-r115:
-Added : lz4cat utility, installed on POSX systems (issue 118)
-OS-X compatible compilation of dynamic library (issue 115)
-
-r114:
-Makefile : library correctly compiled with -O3 switch (issue 114)
-Makefile : library compilation compatible with clang
-Makefile : library is versioned and linked (issue 119)
-lz4.h : no more static inline prototypes (issue 116)
-man : improved header/footer (issue 111)
-Makefile : Use system default $(CC) & $(MAKE) variables (issue 112)
-xxhash : updated to r34
-
-r113:
-Large decompression speed improvement for GCC 32-bits. Thanks to Valery Croizier !
-LZ4HC : Compression Level is now a programmable parameter (CLI from 4 to 9)
-Separated IO routines from command line (lz4io.c)
-Version number into lz4.h (suggested by Francesc Alted)
-
-r112:
-quickfix
-
-r111 :
-Makefile : added capability to install libraries
-Modified Directory tree, to better separate libraries from programs.
-
-r110 :
-lz4 & lz4hc : added capability to allocate state & stream state with custom allocator (issue 99)
-fuzzer & fullbench : updated to test new functions
-man : documented -l command (Legacy format, for Linux kernel compression) (issue 102)
-cmake : improved version by Mika Attila, building programs and libraries (issue 100)
-xxHash : updated to r33
-Makefile : clean also delete local package .tar.gz
-
-r109 :
-lz4.c : corrected issue 98 (LZ4_compress_limitedOutput())
-Makefile : can specify version number from makefile
-
-r108 :
-lz4.c : corrected compression efficiency issue 97 in 64-bits chained mode (-BD) for streams > 4 GB (thanks Roman Strashkin for reporting)
-
-r107 :
-Makefile : support DESTDIR for staged installs. Thanks Jorge Aparicio.
-Makefile : make install installs both lz4 and lz4c (Jorge Aparicio)
-Makefile : removed -Wno-implicit-declaration compilation switch
-lz4cli.c : include <stduni.h> for isatty() (Luca Barbato)
-lz4.h : introduced LZ4_MAX_INPUT_SIZE constant (Shay Green)
-lz4.h : LZ4_compressBound() : unified macro and inline definitions (Shay Green)
-lz4.h : LZ4_decompressSafe_partial() : clarify comments (Shay Green)
-lz4.c : LZ4_compress() verify input size condition (Shay Green)
-bench.c : corrected a bug in free memory size evaluation
-cmake : install into bin/ directory (Richard Yao)
-cmake : check for just C compiler (Elan Ruusamae)
-
-r106 :
-Makefile : make dist modify text files in the package to respect Unix EoL convention
-lz4cli.c : corrected small display bug in HC mode
-
-r105 :
-Makefile : New install script and man page, contributed by Prasad Pandit
-lz4cli.c : Minor modifications, for easier extensibility
-COPYING  : added license file
-LZ4_Streaming_Format.odt : modified file name to remove white space characters
-Makefile : .exe suffix now properly added only for Windows target

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/lz4-r131/README.md
----------------------------------------------------------------------
diff --git a/c++/libs/lz4-r131/README.md b/c++/libs/lz4-r131/README.md
deleted file mode 100644
index a6ba716..0000000
--- a/c++/libs/lz4-r131/README.md
+++ /dev/null
@@ -1,88 +0,0 @@
-LZ4 - Extremely fast compression
-================================
-
-LZ4 is lossless compression algorithm, 
-providing compression speed at 400 MB/s per core, 
-scalable with multi-cores CPU. 
-It also features an extremely fast decoder, 
-with speed in multiple GB/s per core, 
-typically reaching RAM speed limits on multi-core systems.
-
-Speed can be tuned dynamically, selecting an "acceleration" factor
-which trades compression ratio for more speed up.
-On the other end, a high compression derivative, LZ4_HC, is also provided,
-trading CPU time for improved compression ratio.
-All versions feature the same excellent decompression speed.
-
-
-|Branch      |Status   |
-|------------|---------|
-|master      | [![Build Status][travisMasterBadge]][travisLink] [![Build status][AppveyorMasterBadge]][AppveyorLink] [![coverity][coverBadge]][coverlink] |
-|dev         | [![Build Status][travisDevBadge]][travisLink]    [![Build status][AppveyorDevBadge]][AppveyorLink]                                         |
-
-[travisMasterBadge]: https://travis-ci.org/Cyan4973/lz4.svg?branch=master "Continuous Integration test suite"
-[travisDevBadge]: https://travis-ci.org/Cyan4973/lz4.svg?branch=dev "Continuous Integration test suite"
-[travisLink]: https://ci.appveyor.com/project/YannCollet/lz4
-[AppveyorMasterBadge]: https://ci.appveyor.com/api/projects/status/v6kxv9si529477cq/branch/master?svg=true "Visual test suite"
-[AppveyorDevBadge]: https://ci.appveyor.com/api/projects/status/v6kxv9si529477cq/branch/dev?svg=true "Visual test suite"
-[AppveyorLink]: https://ci.appveyor.com/project/YannCollet/lz4
-[coverBadge]: https://scan.coverity.com/projects/4735/badge.svg "Static code analysis of Master branch"
-[coverlink]: https://scan.coverity.com/projects/4735
-
-> **Branch Policy:**
-
-> - The "master" branch is considered stable, at all times.
-> - The "dev" branch is the one where all contributions must be merged
-    before being promoted to master.
->   + If you plan to propose a patch, please commit into the "dev" branch,
-      or its own feature branch.
-      Direct commit to "master" are not permitted.
-
-Benchmarks
--------------------------
-
-The benchmark uses the [Open-Source Benchmark program by m^2 (v0.14.3)]
-compiled with GCC v4.8.2 on Linux Mint 64-bits v17.
-The reference system uses a Core i5-4300U @1.9GHz.
-Benchmark evaluates the compression of reference [Silesia Corpus]
-in single-thread mode.
-
-|  Compressor          | Ratio   | Compression | Decompression |
-|  ----------          | -----   | ----------- | ------------- |
-|  memcpy              |  1.000  | 4200 MB/s   |   4200 MB/s   |
-|**LZ4 fast 17 (r129)**|  1.607  |**690 MB/s** | **2220 MB/s** |
-|**LZ4 default (r129)**|**2.101**|**385 MB/s** | **1850 MB/s** |
-|  LZO 2.06            |  2.108  |  350 MB/s   |    510 MB/s   |
-|  QuickLZ 1.5.1.b6    |  2.238  |  320 MB/s   |    380 MB/s   |
-|  Snappy 1.1.0        |  2.091  |  250 MB/s   |    960 MB/s   |
-|  LZF v3.6            |  2.073  |  175 MB/s   |    500 MB/s   |
-|  zlib 1.2.8 -1       |  2.730  |   59 MB/s   |    250 MB/s   |
-|**LZ4 HC (r129)**     |**2.720**|   22 MB/s   | **1830 MB/s** |
-|  zlib 1.2.8 -6       |  3.099  |   18 MB/s   |    270 MB/s   |
-
-
-Documentation
--------------------------
-
-The raw LZ4 block compression format is detailed within [lz4_Block_format].
-
-To compress an arbitrarily long file or data stream, multiple blocks are required.
-Organizing these blocks and providing a common header format to handle their content
-is the purpose of the Frame format, defined into [lz4_Frame_format].
-Interoperable versions of LZ4 must respect this frame format.
-
-
-Other source versions
--------------------------
-
-Beyond the C reference source, 
-many contributors have created versions of lz4 in multiple languages
-(Java, C#, Python, Perl, Ruby, etc.).
-A list of known source ports is maintained on the [LZ4 Homepage].
-
-
-[Open-Source Benchmark program by m^2 (v0.14.3)]: http://encode.ru/threads/1371-Filesystem-benchmark?p=34029&viewfull=1#post34029
-[Silesia Corpus]: http://sun.aei.polsl.pl/~sdeor/index.php?page=silesia
-[lz4_Block_format]: lz4_Block_format.md
-[lz4_Frame_format]: lz4_Frame_format.md
-[LZ4 Homepage]: http://www.lz4.org
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/lz4-r131/lib/LICENSE
----------------------------------------------------------------------
diff --git a/c++/libs/lz4-r131/lib/LICENSE b/c++/libs/lz4-r131/lib/LICENSE
deleted file mode 100644
index b566df3..0000000
--- a/c++/libs/lz4-r131/lib/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-LZ4 Library
-Copyright (c) 2011-2014, Yann Collet
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
-  list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice, this
-  list of conditions and the following disclaimer in the documentation and/or
-  other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/lz4-r131/lib/Makefile
----------------------------------------------------------------------
diff --git a/c++/libs/lz4-r131/lib/Makefile b/c++/libs/lz4-r131/lib/Makefile
deleted file mode 100644
index 02ddd3b..0000000
--- a/c++/libs/lz4-r131/lib/Makefile
+++ /dev/null
@@ -1,117 +0,0 @@
-# ################################################################
-# LZ4 library - Makefile
-# Copyright (C) Yann Collet 2011-2015
-# All rights reserved.
-# 
-# BSD license
-# Redistribution and use in source and binary forms, with or without modification,
-# are permitted provided that the following conditions are met:
-# 
-# * Redistributions of source code must retain the above copyright notice, this
-#   list of conditions and the following disclaimer.
-# 
-# * Redistributions in binary form must reproduce the above copyright notice, this
-#   list of conditions and the following disclaimer in the documentation and/or
-#   other materials provided with the distribution.
-# 
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
-# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 
-# You can contact the author at :
-#  - LZ4 source repository : https://github.com/Cyan4973/lz4
-#  - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
-# ################################################################
-
-# Version numbers
-VERSION ?= 129
-LIBVER_MAJOR=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h`
-LIBVER_MINOR=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h`
-LIBVER_PATCH=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h`
-LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH)
-
-DESTDIR?=
-PREFIX ?= /usr/local
-CFLAGS ?= -O3
-CFLAGS += -I. -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -pedantic -DXXH_NAMESPACE=LZ4_
-
-LIBDIR?= $(PREFIX)/lib
-INCLUDEDIR=$(PREFIX)/include
-
-
-# OS X linker doesn't support -soname, and use different extension
-# see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html
-ifeq ($(shell uname), Darwin)
-	SHARED_EXT = dylib
-	SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(SHARED_EXT)
-	SHARED_EXT_VER = $(LIBVER).$(SHARED_EXT)
-	SONAME_FLAGS = -install_name $(PREFIX)/lib/liblz4.$(SHARED_EXT_MAJOR) -compatibility_version $(LIBVER_MAJOR) -current_version $(LIBVER)
-else
-	SONAME_FLAGS = -Wl,-soname=liblz4.$(SHARED_EXT).$(LIBVER_MAJOR)
-	SHARED_EXT = so
-	SHARED_EXT_MAJOR = $(SHARED_EXT).$(LIBVER_MAJOR)
-	SHARED_EXT_VER = $(SHARED_EXT).$(LIBVER)
-endif
-
-default: liblz4
-
-all: liblz4
-
-liblz4: lz4.c lz4hc.c lz4frame.c xxhash.c
-	@echo compiling static library
-	@$(CC) $(CPPFLAGS) $(CFLAGS) -c $^
-	@$(AR) rcs liblz4.a lz4.o lz4hc.o lz4frame.o xxhash.o
-	@echo compiling dynamic library $(LIBVER)
-	@$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER)
-	@echo creating versioned links
-	@ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT_MAJOR)
-	@ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT)
-
-clean:
-	@rm -f core *.o *.a *.$(SHARED_EXT) *.$(SHARED_EXT).* liblz4.pc
-	@echo Cleaning library completed
-
-
-#------------------------------------------------------------------------
-#make install is validated only for Linux, OSX, kFreeBSD and Hurd targets
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU))
-
-liblz4.pc: liblz4.pc.in Makefile
-	@echo creating pkgconfig
-	@sed -e 's|@PREFIX@|$(PREFIX)|' \
-            -e 's|@LIBDIR@|$(LIBDIR)|' \
-            -e 's|@INCLUDEDIR@|$(INCLUDEDIR)|' \
-            -e 's|@VERSION@|$(VERSION)|' \
-             $< >$@
-
-install: liblz4 liblz4.pc
-	@install -d -m 755 $(DESTDIR)$(LIBDIR)/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/
-	@install -m 755 liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_VER)
-	@cp -a liblz4.$(SHARED_EXT_MAJOR) $(DESTDIR)$(LIBDIR)
-	@cp -a liblz4.$(SHARED_EXT) $(DESTDIR)$(LIBDIR)
-	@cp -a liblz4.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
-	@install -m 644 liblz4.a $(DESTDIR)$(LIBDIR)/liblz4.a
-	@install -m 644 lz4.h $(DESTDIR)$(INCLUDEDIR)/lz4.h
-	@install -m 644 lz4hc.h $(DESTDIR)$(INCLUDEDIR)/lz4hc.h
-	@install -m 644 lz4frame.h $(DESTDIR)$(INCLUDEDIR)/lz4frame.h
-	@echo lz4 static and shared library installed
-
-uninstall:
-	@rm -f $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT)
-	@rm -f $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_MAJOR)
-	@rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/liblz4.pc
-	@[ -x $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_VER) ] && rm -f $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_VER)
-	@[ -f $(DESTDIR)$(LIBDIR)/liblz4.a ] && rm -f $(DESTDIR)$(LIBDIR)/liblz4.a
-	@[ -f $(DESTDIR)$(INCLUDEDIR)/lz4.h ] && rm -f $(DESTDIR)$(INCLUDEDIR)/lz4.h
-	@[ -f $(DESTDIR)$(INCLUDEDIR)/lz4hc.h ] && rm -f $(DESTDIR)$(INCLUDEDIR)/lz4hc.h
-	@[ -f $(DESTDIR)$(INCLUDEDIR)/lz4frame.h ] && rm -f $(DESTDIR)$(INCLUDEDIR)/lz4frame.h
-	@echo lz4 libraries successfully uninstalled
-
-endif

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/lz4-r131/lib/README.md
----------------------------------------------------------------------
diff --git a/c++/libs/lz4-r131/lib/README.md b/c++/libs/lz4-r131/lib/README.md
deleted file mode 100644
index f6ebf5e..0000000
--- a/c++/libs/lz4-r131/lib/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-LZ4 - Library Files
-================================
-
-The __lib__ directory contains several files, but you don't necessarily need them all.
-
-To integrate fast LZ4 compression/decompression into your program, you basically just need "**lz4.c**" and "**lz4.h**".
-
-For more compression at the cost of compression speed (while preserving decompression speed), use **lz4hc** on top of regular lz4. `lz4hc` only provides compression functions. It also needs `lz4` to compile properly.
-
-If you want to produce files or data streams compatible with `lz4` command line utility, use **lz4frame**. This library encapsulates lz4-compressed blocks into the [official interoperable frame format]. In order to work properly, lz4frame needs lz4 and lz4hc, and also **xxhash**, which provides error detection algorithm.
-(_Advanced stuff_ : It's possible to hide xxhash symbols into a local namespace. This is what `liblz4` does, to avoid symbol duplication in case a user program would link to several libraries containing xxhash symbols.)
-
-A more complex "lz4frame_static.h" is also provided, although its usage is not recommended. It contains definitions which are not guaranteed to remain stable within future versions. Use for static linking ***only***.
-
-The other files are not source code. There are :
-
- - LICENSE : contains the BSD license text
- - Makefile : script to compile or install lz4 library (static or dynamic)
- - liblz4.pc.in : for pkg-config (make install)
-
-[official interoperable frame format]: ../lz4_Frame_format.md

http://git-wip-us.apache.org/repos/asf/orc/blob/590245a0/c++/libs/lz4-r131/lib/liblz4.pc.in
----------------------------------------------------------------------
diff --git a/c++/libs/lz4-r131/lib/liblz4.pc.in b/c++/libs/lz4-r131/lib/liblz4.pc.in
deleted file mode 100644
index 0d05152..0000000
--- a/c++/libs/lz4-r131/lib/liblz4.pc.in
+++ /dev/null
@@ -1,14 +0,0 @@
-#   LZ4 - Fast LZ compression algorithm
-#   Copyright (C) 2011-2014, Yann Collet.
-#   BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
-
-prefix=@PREFIX@
-libdir=@LIBDIR@
-includedir=@INCLUDEDIR@
-
-Name: lz4
-Description: fast lossless compression algorithm library
-URL: http://code.google.com/p/lz4/
-Version: @VERSION@
-Libs: -L@LIBDIR@ -llz4
-Cflags: -I@INCLUDEDIR@