You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by hb...@apache.org on 2017/01/19 20:07:28 UTC
[51/51] [abbrv] [partial] incubator-quickstep git commit: Added shell
script to download prerequisite third party libs
Added shell script to download prerequisite third party libs
- Deleted third party library code
- Added re2 CMakeLists patch file.
- Ignore warnings during re2 compilation.
- Compilation fixes due to google benchmark upgrade.
- Fixes for the compilation error in Window aggregation unit test.
- Perform check for the current directory before running the third party
scripts.
- Created macro for setting GFLAG library name.
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/b249eb11
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/b249eb11
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/b249eb11
Branch: refs/heads/lean-third-party
Commit: b249eb11a8b11dae63d0230eea9e05c0c2d99420
Parents: ee3b7f0
Author: Harshad Deshmukh <hb...@apache.org>
Authored: Tue Jan 10 14:42:26 2017 -0600
Committer: Harshad Deshmukh <hb...@apache.org>
Committed: Thu Jan 19 14:05:08 2017 -0600
----------------------------------------------------------------------
.gitmodules | 6 -
CMakeLists.txt | 20 +-
cli/CMakeLists.txt | 6 +-
cli/distributed/CMakeLists.txt | 6 +-
.../WindowAggregationHandleAvg_unittest.cpp | 6 +-
query_execution/CMakeLists.txt | 6 +-
query_optimizer/CMakeLists.txt | 6 +-
query_optimizer/tests/CMakeLists.txt | 6 +-
relational_operators/CMakeLists.txt | 8 +-
storage/CMakeLists.txt | 6 +-
third_party/apply_patches.sh | 19 +
third_party/benchmark/.gitignore | 39 -
third_party/benchmark/.travis.yml | 33 -
third_party/benchmark/AUTHORS | 25 -
third_party/benchmark/CMakeLists.txt | 62 -
third_party/benchmark/CONTRIBUTING.md | 58 -
third_party/benchmark/CONTRIBUTORS | 41 -
third_party/benchmark/LICENSE | 202 -
third_party/benchmark/README.md | 165 -
.../benchmark/cmake/AddCXXCompilerFlag.cmake | 38 -
.../benchmark/cmake/CXXFeatureCheck.cmake | 39 -
third_party/benchmark/cmake/GetGitVersion.cmake | 45 -
third_party/benchmark/cmake/gnu_posix_regex.cpp | 12 -
third_party/benchmark/cmake/posix_regex.cpp | 12 -
third_party/benchmark/cmake/std_regex.cpp | 10 -
.../benchmark/include/benchmark/benchmark.h | 537 -
.../benchmark/include/benchmark/macros.h | 44 -
third_party/benchmark/src/CMakeLists.txt | 44 -
third_party/benchmark/src/arraysize.h | 36 -
third_party/benchmark/src/benchmark.cc | 1188 -
third_party/benchmark/src/check.h | 57 -
third_party/benchmark/src/colorprint.cc | 111 -
third_party/benchmark/src/colorprint.h | 19 -
third_party/benchmark/src/commandlineflags.cc | 220 -
third_party/benchmark/src/commandlineflags.h | 76 -
third_party/benchmark/src/cycleclock.h | 134 -
third_party/benchmark/src/internal_macros.h | 40 -
third_party/benchmark/src/log.cc | 40 -
third_party/benchmark/src/log.h | 28 -
third_party/benchmark/src/re.h | 60 -
third_party/benchmark/src/re_posix.cc | 59 -
third_party/benchmark/src/re_std.cc | 44 -
third_party/benchmark/src/sleep.cc | 46 -
third_party/benchmark/src/sleep.h | 17 -
third_party/benchmark/src/stat.h | 302 -
third_party/benchmark/src/string_util.cc | 164 -
third_party/benchmark/src/string_util.h | 40 -
third_party/benchmark/src/sysinfo.cc | 354 -
third_party/benchmark/src/sysinfo.h | 11 -
third_party/benchmark/src/walltime.cc | 191 -
third_party/benchmark/src/walltime.h | 22 -
third_party/benchmark/test/CMakeLists.txt | 22 -
third_party/benchmark/test/benchmark_test.cc | 169 -
third_party/benchmark/test/filter_test.cc | 86 -
third_party/download_and_patch_prerequisites.sh | 69 +
third_party/gflags/.gitattributes | 3 -
third_party/gflags/.gitignore | 14 -
third_party/gflags/AUTHORS.txt | 2 -
third_party/gflags/CMakeLists.txt | 506 -
third_party/gflags/COPYING.txt | 28 -
third_party/gflags/ChangeLog.txt | 218 -
third_party/gflags/INSTALL.md | 54 -
third_party/gflags/README.md | 263 -
third_party/gflags/cmake/README_runtime.txt | 4 -
third_party/gflags/cmake/config.cmake.in | 23 -
third_party/gflags/cmake/execute_test.cmake | 53 -
third_party/gflags/cmake/package.cmake.in | 49 -
third_party/gflags/cmake/utils.cmake | 96 -
third_party/gflags/cmake/version.cmake.in | 21 -
third_party/gflags/doc/designstyle.css | 115 -
third_party/gflags/doc/index.html | 558 -
third_party/gflags/src/config.h.in | 112 -
third_party/gflags/src/gflags.cc | 1961 --
third_party/gflags/src/gflags.h.in | 572 -
third_party/gflags/src/gflags_completions.cc | 769 -
third_party/gflags/src/gflags_completions.h.in | 121 -
third_party/gflags/src/gflags_completions.sh | 117 -
third_party/gflags/src/gflags_declare.h.in | 141 -
third_party/gflags/src/gflags_ns.h.in | 101 -
third_party/gflags/src/gflags_reporting.cc | 442 -
third_party/gflags/src/mutex.h | 351 -
third_party/gflags/src/util.h | 373 -
third_party/gflags/src/windows_port.cc | 71 -
third_party/gflags/src/windows_port.h | 127 -
third_party/gflags/test/CMakeLists.txt | 185 -
third_party/gflags/test/config_for_unittests.h | 79 -
third_party/gflags/test/flagfile.1 | 1 -
third_party/gflags/test/flagfile.2 | 2 -
third_party/gflags/test/flagfile.3 | 1 -
third_party/gflags/test/gflags_declare_flags.cc | 9 -
third_party/gflags/test/gflags_declare_test.cc | 12 -
third_party/gflags/test/gflags_nc.py.in | 33 -
.../gflags/test/gflags_strip_flags_test.cc | 61 -
.../gflags/test/gflags_strip_flags_test.cmake | 7 -
third_party/gflags/test/gflags_unittest.cc | 1536 --
.../gflags/test/gflags_unittest_flagfile | 2 -
third_party/gflags/test/nc/CMakeLists.txt | 16 -
third_party/gflags/test/nc/gflags_nc.cc | 73 -
third_party/googletest | 1 -
third_party/gperftools/AUTHORS | 2 -
third_party/gperftools/COPYING | 28 -
third_party/gperftools/ChangeLog | 646 -
third_party/gperftools/INSTALL | 561 -
third_party/gperftools/Makefile.am | 1425 --
third_party/gperftools/Makefile.in | 6533 -----
third_party/gperftools/NEWS | 588 -
third_party/gperftools/README | 265 -
third_party/gperftools/README_windows.txt | 118 -
third_party/gperftools/TODO | 47 -
third_party/gperftools/aclocal.m4 | 1199 -
third_party/gperftools/compile | 347 -
third_party/gperftools/config.guess | 1420 --
third_party/gperftools/config.sub | 1799 --
third_party/gperftools/configure | 21812 -----------------
third_party/gperftools/configure.ac | 538 -
third_party/gperftools/depcomp | 791 -
.../gperftools/doc/cpuprofile-fileformat.html | 264 -
third_party/gperftools/doc/cpuprofile.html | 536 -
third_party/gperftools/doc/designstyle.css | 109 -
third_party/gperftools/doc/heap-example1.png | Bin 37619 -> 0 bytes
third_party/gperftools/doc/heap_checker.html | 534 -
third_party/gperftools/doc/heapprofile.html | 382 -
third_party/gperftools/doc/index.html | 20 -
third_party/gperftools/doc/overview.dot | 15 -
third_party/gperftools/doc/overview.gif | Bin 6472 -> 0 bytes
third_party/gperftools/doc/pageheap.dot | 29 -
third_party/gperftools/doc/pageheap.gif | Bin 15486 -> 0 bytes
third_party/gperftools/doc/pprof-test-big.gif | Bin 111566 -> 0 bytes
third_party/gperftools/doc/pprof-test.gif | Bin 56995 -> 0 bytes
.../gperftools/doc/pprof-vsnprintf-big.gif | Bin 100721 -> 0 bytes
third_party/gperftools/doc/pprof-vsnprintf.gif | Bin 31054 -> 0 bytes
third_party/gperftools/doc/pprof.1 | 131 -
third_party/gperftools/doc/pprof.see_also | 11 -
.../gperftools/doc/pprof_remote_servers.html | 260 -
third_party/gperftools/doc/spanmap.dot | 22 -
third_party/gperftools/doc/spanmap.gif | Bin 8482 -> 0 bytes
third_party/gperftools/doc/t-test1.times.txt | 480 -
...alloc-opspercpusec.vs.threads.1024.bytes.png | Bin 1882 -> 0 bytes
...malloc-opspercpusec.vs.threads.128.bytes.png | Bin 1731 -> 0 bytes
...loc-opspercpusec.vs.threads.131072.bytes.png | Bin 1314 -> 0 bytes
...lloc-opspercpusec.vs.threads.16384.bytes.png | Bin 1815 -> 0 bytes
...alloc-opspercpusec.vs.threads.2048.bytes.png | Bin 1877 -> 0 bytes
...malloc-opspercpusec.vs.threads.256.bytes.png | Bin 1838 -> 0 bytes
...lloc-opspercpusec.vs.threads.32768.bytes.png | Bin 1516 -> 0 bytes
...alloc-opspercpusec.vs.threads.4096.bytes.png | Bin 2005 -> 0 bytes
...malloc-opspercpusec.vs.threads.512.bytes.png | Bin 1683 -> 0 bytes
...cmalloc-opspercpusec.vs.threads.64.bytes.png | Bin 1656 -> 0 bytes
...lloc-opspercpusec.vs.threads.65536.bytes.png | Bin 1498 -> 0 bytes
...alloc-opspercpusec.vs.threads.8192.bytes.png | Bin 1912 -> 0 bytes
.../tcmalloc-opspersec.vs.size.1.threads.png | Bin 1689 -> 0 bytes
.../tcmalloc-opspersec.vs.size.12.threads.png | Bin 2216 -> 0 bytes
.../tcmalloc-opspersec.vs.size.16.threads.png | Bin 2010 -> 0 bytes
.../tcmalloc-opspersec.vs.size.2.threads.png | Bin 2163 -> 0 bytes
.../tcmalloc-opspersec.vs.size.20.threads.png | Bin 2147 -> 0 bytes
.../tcmalloc-opspersec.vs.size.3.threads.png | Bin 2270 -> 0 bytes
.../tcmalloc-opspersec.vs.size.4.threads.png | Bin 2174 -> 0 bytes
.../tcmalloc-opspersec.vs.size.5.threads.png | Bin 1995 -> 0 bytes
.../tcmalloc-opspersec.vs.size.8.threads.png | Bin 2156 -> 0 bytes
third_party/gperftools/doc/tcmalloc.html | 765 -
third_party/gperftools/doc/threadheap.dot | 21 -
third_party/gperftools/doc/threadheap.gif | Bin 7571 -> 0 bytes
third_party/gperftools/gperftools.sln | 207 -
third_party/gperftools/install-sh | 527 -
third_party/gperftools/libtool | 10246 --------
third_party/gperftools/ltmain.sh | 9661 --------
third_party/gperftools/m4/ac_have_attribute.m4 | 16 -
third_party/gperftools/m4/acx_nanosleep.m4 | 35 -
third_party/gperftools/m4/acx_pthread.m4 | 397 -
.../gperftools/m4/compiler_characteristics.m4 | 24 -
third_party/gperftools/m4/install_prefix.m4 | 8 -
third_party/gperftools/m4/libtool.m4 | 7988 ------
third_party/gperftools/m4/ltoptions.m4 | 384 -
third_party/gperftools/m4/ltsugar.m4 | 123 -
third_party/gperftools/m4/ltversion.m4 | 23 -
third_party/gperftools/m4/lt~obsolete.m4 | 98 -
third_party/gperftools/m4/namespaces.m4 | 15 -
third_party/gperftools/m4/pc_from_ucontext.m4 | 97 -
.../gperftools/m4/program_invocation_name.m4 | 19 -
third_party/gperftools/m4/stl_namespace.m4 | 25 -
third_party/gperftools/missing | 215 -
third_party/gperftools/packages/deb.sh | 74 -
third_party/gperftools/packages/deb/README | 7 -
third_party/gperftools/packages/deb/changelog | 208 -
third_party/gperftools/packages/deb/compat | 1 -
third_party/gperftools/packages/deb/control | 25 -
third_party/gperftools/packages/deb/copyright | 38 -
third_party/gperftools/packages/deb/docs | 47 -
.../packages/deb/libgperftools-dev.dirs | 5 -
.../packages/deb/libgperftools-dev.install | 12 -
.../gperftools/packages/deb/libgperftools0.dirs | 2 -
.../packages/deb/libgperftools0.install | 4 -
.../packages/deb/libgperftools0.manpages | 1 -
third_party/gperftools/packages/deb/rules | 117 -
third_party/gperftools/packages/rpm.sh | 86 -
third_party/gperftools/packages/rpm/rpm.spec | 77 -
third_party/gperftools/src/addressmap-inl.h | 422 -
.../src/base/arm_instruction_set_select.h | 79 -
.../src/base/atomicops-internals-arm-generic.h | 228 -
.../src/base/atomicops-internals-arm-v6plus.h | 330 -
.../src/base/atomicops-internals-gcc.h | 203 -
.../src/base/atomicops-internals-linuxppc.h | 437 -
.../src/base/atomicops-internals-macosx.h | 370 -
.../src/base/atomicops-internals-mips.h | 323 -
.../src/base/atomicops-internals-windows.h | 457 -
.../src/base/atomicops-internals-x86.cc | 112 -
.../src/base/atomicops-internals-x86.h | 391 -
third_party/gperftools/src/base/atomicops.h | 391 -
third_party/gperftools/src/base/basictypes.h | 384 -
.../gperftools/src/base/commandlineflags.h | 166 -
third_party/gperftools/src/base/cycleclock.h | 173 -
.../gperftools/src/base/dynamic_annotations.c | 179 -
.../gperftools/src/base/dynamic_annotations.h | 627 -
.../gperftools/src/base/elf_mem_image.cc | 434 -
third_party/gperftools/src/base/elf_mem_image.h | 135 -
third_party/gperftools/src/base/elfcore.h | 401 -
third_party/gperftools/src/base/googleinit.h | 74 -
.../gperftools/src/base/linux_syscall_support.h | 2483 --
third_party/gperftools/src/base/linuxthreads.cc | 707 -
third_party/gperftools/src/base/linuxthreads.h | 53 -
third_party/gperftools/src/base/logging.cc | 108 -
third_party/gperftools/src/base/logging.h | 259 -
.../gperftools/src/base/low_level_alloc.cc | 523 -
.../gperftools/src/base/low_level_alloc.h | 107 -
third_party/gperftools/src/base/simple_mutex.h | 332 -
third_party/gperftools/src/base/spinlock.cc | 183 -
third_party/gperftools/src/base/spinlock.h | 146 -
.../gperftools/src/base/spinlock_internal.cc | 122 -
.../gperftools/src/base/spinlock_internal.h | 65 -
.../gperftools/src/base/spinlock_linux-inl.h | 104 -
.../gperftools/src/base/spinlock_posix-inl.h | 63 -
.../gperftools/src/base/spinlock_win32-inl.h | 54 -
third_party/gperftools/src/base/stl_allocator.h | 98 -
.../src/base/synchronization_profiling.h | 51 -
third_party/gperftools/src/base/sysinfo.cc | 1153 -
third_party/gperftools/src/base/sysinfo.h | 236 -
.../gperftools/src/base/thread_annotations.h | 134 -
third_party/gperftools/src/base/thread_lister.c | 77 -
third_party/gperftools/src/base/thread_lister.h | 83 -
third_party/gperftools/src/base/vdso_support.cc | 143 -
third_party/gperftools/src/base/vdso_support.h | 132 -
third_party/gperftools/src/central_freelist.cc | 387 -
third_party/gperftools/src/central_freelist.h | 211 -
third_party/gperftools/src/common.cc | 276 -
third_party/gperftools/src/common.h | 274 -
third_party/gperftools/src/config.h.in | 305 -
.../gperftools/src/config_for_unittests.h | 65 -
third_party/gperftools/src/debugallocation.cc | 1494 --
third_party/gperftools/src/getenv_safe.h | 63 -
third_party/gperftools/src/getpc.h | 187 -
.../gperftools/src/google/heap-checker.h | 36 -
.../gperftools/src/google/heap-profiler.h | 37 -
.../gperftools/src/google/malloc_extension.h | 36 -
.../gperftools/src/google/malloc_extension_c.h | 37 -
third_party/gperftools/src/google/malloc_hook.h | 36 -
.../gperftools/src/google/malloc_hook_c.h | 37 -
third_party/gperftools/src/google/profiler.h | 37 -
third_party/gperftools/src/google/stacktrace.h | 36 -
third_party/gperftools/src/google/tcmalloc.h | 37 -
.../gperftools/src/gperftools/heap-checker.h | 422 -
.../gperftools/src/gperftools/heap-profiler.h | 105 -
.../src/gperftools/malloc_extension.h | 421 -
.../src/gperftools/malloc_extension_c.h | 99 -
.../gperftools/src/gperftools/malloc_hook.h | 359 -
.../gperftools/src/gperftools/malloc_hook_c.h | 173 -
.../gperftools/src/gperftools/profiler.h | 169 -
.../gperftools/src/gperftools/stacktrace.h | 117 -
.../gperftools/src/gperftools/tcmalloc.h.in | 135 -
third_party/gperftools/src/heap-checker-bcad.cc | 93 -
third_party/gperftools/src/heap-checker.cc | 2388 --
third_party/gperftools/src/heap-profile-stats.h | 78 -
.../gperftools/src/heap-profile-table.cc | 625 -
third_party/gperftools/src/heap-profile-table.h | 399 -
third_party/gperftools/src/heap-profiler.cc | 620 -
third_party/gperftools/src/internal_logging.cc | 194 -
third_party/gperftools/src/internal_logging.h | 144 -
third_party/gperftools/src/libc_override.h | 91 -
.../gperftools/src/libc_override_gcc_and_weak.h | 107 -
.../gperftools/src/libc_override_glibc.h | 149 -
third_party/gperftools/src/libc_override_osx.h | 276 -
.../gperftools/src/libc_override_redefine.h | 94 -
third_party/gperftools/src/linked_list.h | 103 -
third_party/gperftools/src/malloc_extension.cc | 378 -
third_party/gperftools/src/malloc_hook-inl.h | 247 -
third_party/gperftools/src/malloc_hook.cc | 692 -
.../gperftools/src/malloc_hook_mmap_freebsd.h | 135 -
.../gperftools/src/malloc_hook_mmap_linux.h | 238 -
third_party/gperftools/src/maybe_threads.cc | 157 -
third_party/gperftools/src/maybe_threads.h | 54 -
third_party/gperftools/src/memfs_malloc.cc | 268 -
third_party/gperftools/src/memory_region_map.cc | 829 -
third_party/gperftools/src/memory_region_map.h | 413 -
third_party/gperftools/src/packed-cache-inl.h | 239 -
third_party/gperftools/src/page_heap.cc | 675 -
third_party/gperftools/src/page_heap.h | 316 -
.../gperftools/src/page_heap_allocator.h | 114 -
third_party/gperftools/src/pagemap.h | 324 -
third_party/gperftools/src/pprof | 5504 -----
third_party/gperftools/src/profile-handler.cc | 685 -
third_party/gperftools/src/profile-handler.h | 149 -
third_party/gperftools/src/profiledata.cc | 332 -
third_party/gperftools/src/profiledata.h | 184 -
third_party/gperftools/src/profiler.cc | 431 -
third_party/gperftools/src/raw_printer.cc | 72 -
third_party/gperftools/src/raw_printer.h | 90 -
third_party/gperftools/src/sampler.cc | 131 -
third_party/gperftools/src/sampler.h | 180 -
third_party/gperftools/src/solaris/libstdc++.la | 51 -
third_party/gperftools/src/span.cc | 102 -
third_party/gperftools/src/span.h | 102 -
third_party/gperftools/src/stack_trace_table.cc | 160 -
third_party/gperftools/src/stack_trace_table.h | 92 -
third_party/gperftools/src/stacktrace.cc | 270 -
third_party/gperftools/src/stacktrace_arm-inl.h | 148 -
.../gperftools/src/stacktrace_generic-inl.h | 84 -
.../gperftools/src/stacktrace_impl_setup-inl.h | 94 -
.../gperftools/src/stacktrace_instrument-inl.h | 155 -
.../gperftools/src/stacktrace_libunwind-inl.h | 150 -
.../src/stacktrace_powerpc-darwin-inl.h | 158 -
.../gperftools/src/stacktrace_powerpc-inl.h | 176 -
.../src/stacktrace_powerpc-linux-inl.h | 231 -
.../gperftools/src/stacktrace_win32-inl.h | 107 -
third_party/gperftools/src/stacktrace_x86-inl.h | 354 -
third_party/gperftools/src/static_vars.cc | 125 -
third_party/gperftools/src/static_vars.h | 115 -
third_party/gperftools/src/symbolize.cc | 285 -
third_party/gperftools/src/symbolize.h | 84 -
third_party/gperftools/src/system-alloc.cc | 552 -
third_party/gperftools/src/system-alloc.h | 92 -
third_party/gperftools/src/tcmalloc.cc | 1740 --
third_party/gperftools/src/tcmalloc.h | 70 -
third_party/gperftools/src/tcmalloc_guard.h | 49 -
.../gperftools/src/tests/addressmap_unittest.cc | 171 -
.../gperftools/src/tests/atomicops_unittest.cc | 162 -
.../src/tests/current_allocated_bytes_test.cc | 64 -
.../src/tests/debugallocation_test.cc | 332 -
.../src/tests/debugallocation_test.sh | 95 -
.../gperftools/src/tests/frag_unittest.cc | 133 -
third_party/gperftools/src/tests/getpc_test.cc | 123 -
.../src/tests/heap-checker-death_unittest.sh | 176 -
.../src/tests/heap-checker_unittest.cc | 1526 --
.../src/tests/heap-checker_unittest.sh | 89 -
.../src/tests/heap-profiler_unittest.cc | 164 -
.../src/tests/heap-profiler_unittest.sh | 150 -
.../tests/large_heap_fragmentation_unittest.cc | 62 -
.../src/tests/low_level_alloc_unittest.cc | 197 -
.../src/tests/malloc_extension_c_test.c | 182 -
.../src/tests/malloc_extension_test.cc | 98 -
.../gperftools/src/tests/malloc_hook_test.cc | 367 -
.../gperftools/src/tests/markidle_unittest.cc | 109 -
.../src/tests/maybe_threads_unittest.sh | 79 -
.../gperftools/src/tests/memalign_unittest.cc | 221 -
.../gperftools/src/tests/packed-cache_test.cc | 63 -
.../gperftools/src/tests/page_heap_test.cc | 169 -
.../gperftools/src/tests/pagemap_unittest.cc | 178 -
.../src/tests/profile-handler_unittest.cc | 519 -
.../src/tests/profiledata_unittest.cc | 611 -
.../gperftools/src/tests/profiler_unittest.cc | 147 -
.../gperftools/src/tests/profiler_unittest.sh | 269 -
.../gperftools/src/tests/raw_printer_test.cc | 64 -
.../gperftools/src/tests/realloc_unittest.cc | 125 -
.../gperftools/src/tests/sampler_test.cc | 658 -
.../gperftools/src/tests/sampling_test.cc | 83 -
.../gperftools/src/tests/sampling_test.sh | 94 -
.../gperftools/src/tests/simple_compat_test.cc | 68 -
.../src/tests/stack_trace_table_test.cc | 102 -
.../gperftools/src/tests/stacktrace_unittest.cc | 194 -
.../src/tests/system-alloc_unittest.cc | 155 -
.../src/tests/tcmalloc_large_unittest.cc | 138 -
.../gperftools/src/tests/tcmalloc_unittest.cc | 1409 --
.../gperftools/src/tests/tcmalloc_unittest.sh | 76 -
third_party/gperftools/src/tests/testutil.cc | 224 -
third_party/gperftools/src/tests/testutil.h | 62 -
.../src/tests/thread_dealloc_unittest.cc | 84 -
.../gperftools/src/third_party/valgrind.h | 3924 ---
third_party/gperftools/src/thread_cache.cc | 474 -
third_party/gperftools/src/thread_cache.h | 440 -
third_party/gperftools/src/windows/TODO | 86 -
.../gperftools/src/windows/addr2line-pdb.c | 163 -
.../gperftools/src/windows/auto_testing_hook.h | 156 -
third_party/gperftools/src/windows/config.h | 310 -
.../gperftools/src/windows/get_mangled_names.cc | 65 -
.../src/windows/gperftools/tcmalloc.h | 125 -
.../src/windows/gperftools/tcmalloc.h.in | 125 -
.../gperftools/src/windows/ia32_modrm_map.cc | 121 -
.../gperftools/src/windows/ia32_opcode_map.cc | 1219 -
third_party/gperftools/src/windows/mingw.h | 72 -
.../gperftools/src/windows/mini_disassembler.cc | 432 -
.../gperftools/src/windows/mini_disassembler.h | 198 -
.../src/windows/mini_disassembler_types.h | 237 -
third_party/gperftools/src/windows/nm-pdb.c | 273 -
.../src/windows/override_functions.cc | 123 -
.../gperftools/src/windows/patch_functions.cc | 1077 -
third_party/gperftools/src/windows/port.cc | 235 -
third_party/gperftools/src/windows/port.h | 492 -
.../gperftools/src/windows/preamble_patcher.cc | 736 -
.../gperftools/src/windows/preamble_patcher.h | 620 -
.../src/windows/preamble_patcher_test.cc | 368 -
.../src/windows/preamble_patcher_with_stub.cc | 302 -
.../gperftools/src/windows/shortproc.asm | 169 -
.../gperftools/src/windows/system-alloc.cc | 204 -
third_party/gperftools/test-driver | 139 -
.../addr2line-pdb/addr2line-pdb.vcproj | 127 -
.../addressmap_unittest.vcproj | 301 -
.../current_allocated_bytes_test.vcproj | 156 -
.../frag_unittest/frag_unittest.vcproj | 150 -
.../libtcmalloc_minimal.vcproj | 802 -
.../low_level_alloc_unittest.vcproj | 373 -
.../malloc_extension_test.vcproj | 157 -
.../malloc_hook_test/malloc_hook_test.vcproj | 174 -
.../markidle_unittest/markidle_unittest.vcproj | 170 -
.../gperftools/vsprojects/nm-pdb/nm-pdb.vcproj | 127 -
.../packed-cache_test/packed-cache_test.vcproj | 201 -
.../page_heap_test/page_heap_test.vcproj | 157 -
.../pagemap_unittest/pagemap_unittest.vcproj | 154 -
.../preamble_patcher_test.vcproj | 180 -
.../realloc_unittest/realloc_unittest.vcproj | 151 -
.../vsprojects/sampler_test/sampler_test.vcproj | 154 -
.../stack_trace_table_test.vcproj | 153 -
.../system-alloc_unittest.vcproj | 170 -
.../tcmalloc_minimal_large_unittest.vcproj | 150 -
.../tcmalloc_minimal_unittest.vcproj | 170 -
.../thread_dealloc_unittest.vcproj | 170 -
.../vsprojects/tmu-static/tmu-static.vcproj | 903 -
third_party/linenoise/CMakeLists.txt | 1 -
third_party/linenoise/LICENSE | 25 -
third_party/linenoise/README.markdown | 52 -
third_party/linenoise/linenoise.c | 1131 -
third_party/linenoise/linenoise.h | 73 -
.../patches/benchmark/benchmarkCMake.patch | 11 +
third_party/patches/linenoise/CMakeLists.txt | 1 +
third_party/patches/re2/re2CMake.patch | 73 +
third_party/re2 | 1 -
third_party/re2_cmake/CMakeLists.txt | 77 -
third_party/reset_third_party_dir.sh | 18 +
transaction/CMakeLists.txt | 6 +-
types/port/tests/timegm_benchmark.cpp | 2 +-
utility/CMakeLists.txt | 6 +-
utility/tests/EqualsAnyConstant_benchmark.cpp | 26 +-
utility/tests/HashPair_benchmark.cpp | 2 +-
439 files changed, 234 insertions(+), 159364 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/.gitmodules
----------------------------------------------------------------------
diff --git a/.gitmodules b/.gitmodules
index 7671b11..8b52c1d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,9 +1,3 @@
[submodule "third_party/protobuf"]
path = third_party/protobuf
url = https://github.com/google/protobuf.git
-[submodule "third_party/re2"]
- path = third_party/re2
- url = https://github.com/google/re2.git
-[submodule "third_party/googletest"]
- path = third_party/googletest
- url = https://github.com/google/googletest
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4dcc56a..d0188fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,11 +141,15 @@ endif()
option(ENABLE_DISTRIBUTED "Use the distributed version of Quickstep" OFF)
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+macro (set_gflags_lib_name)
+ if (BUILD_SHARED_LIBS)
+ set(GFLAGS_LIB_NAME gflags_nothreads)
+ else()
+ set(GFLAGS_LIB_NAME gflags)
+ endif()
+endmacro (set_gflags_lib_name)
+
+set_gflags_lib_name ()
# Turn on the QUICKSTEP_DEBUG flag in the source if this is a debug build.
if (CMAKE_MAJOR_VERSION GREATER 2)
@@ -679,6 +683,9 @@ endif()
# Add required cmake-controlled third-party libraries (farmhash, gflags, glog, and re2).
add_subdirectory ("${THIRD_PARTY_SOURCE_DIR}/farmhash" "${CMAKE_CURRENT_BINARY_DIR}/third_party/farmhash")
+set (GFLAGS_BUILD_TESTING OFF)
+set (GFLAGS_NC_TESTS OFF)
+set (GFLAGS_CONFIG_TESTS OFF)
add_subdirectory ("${THIRD_PARTY_SOURCE_DIR}/gflags" "${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags")
include_directories("${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include")
@@ -694,8 +701,9 @@ else()
include_directories(${CMAKE_CURRENT_BINARY_DIR}/third_party)
endif()
-add_subdirectory ("${THIRD_PARTY_SOURCE_DIR}/re2_cmake" "${CMAKE_CURRENT_BINARY_DIR}/third_party/re2")
+#add_subdirectory ("${THIRD_PARTY_SOURCE_DIR}/re2_cmake" "${CMAKE_CURRENT_BINARY_DIR}/third_party/re2")
include_directories("${THIRD_PARTY_SOURCE_DIR}/re2")
+add_subdirectory ("${THIRD_PARTY_SOURCE_DIR}/re2" "${CMAKE_CURRENT_BINARY_DIR}/third_party/re2")
# Add optional linenoise command-line editing library.
if (USE_LINENOISE)
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/cli/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt
index 8c7fe2d..c5f3915 100644
--- a/cli/CMakeLists.txt
+++ b/cli/CMakeLists.txt
@@ -33,11 +33,7 @@ if(LIBNUMA_FOUND)
set(QUICKSTEP_HAVE_LIBNUMA TRUE)
endif()
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+set_gflags_lib_name ()
if (ENABLE_GOOGLE_PROFILER)
set(QUICKSTEP_ENABLE_GOOGLE_PROFILER TRUE)
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/cli/distributed/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/cli/distributed/CMakeLists.txt b/cli/distributed/CMakeLists.txt
index e16d8af..a00ffda 100644
--- a/cli/distributed/CMakeLists.txt
+++ b/cli/distributed/CMakeLists.txt
@@ -15,11 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+set_gflags_lib_name ()
# Declare micro-libs and link dependencies:
add_library(quickstep_cli_distributed_Cli Cli.cpp Cli.hpp)
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/expressions/window_aggregation/tests/WindowAggregationHandleAvg_unittest.cpp
----------------------------------------------------------------------
diff --git a/expressions/window_aggregation/tests/WindowAggregationHandleAvg_unittest.cpp b/expressions/window_aggregation/tests/WindowAggregationHandleAvg_unittest.cpp
index 6e1364a..36690a7 100644
--- a/expressions/window_aggregation/tests/WindowAggregationHandleAvg_unittest.cpp
+++ b/expressions/window_aggregation/tests/WindowAggregationHandleAvg_unittest.cpp
@@ -215,7 +215,8 @@ class WindowAggregationHandleAvgTest : public::testing::Test {
// Get the cpptype result.
std::vector<typename OutputType::cpptype*> rows_result_cpp_vector;
typename GenericType::cpptype rows_sum;
- int rows_count;
+ SetDataType(0, &rows_sum);
+ int rows_count = 0;
for (std::size_t i = 0; i < argument_cpp_vector.size(); ++i) {
// Start of new partition
if (i % kNumTuplesPerPartition == 0) {
@@ -253,7 +254,8 @@ class WindowAggregationHandleAvgTest : public::testing::Test {
// Get the cpptype result.
std::vector<typename OutputType::cpptype*> range_result_cpp_vector;
typename GenericType::cpptype range_sum;
- int range_count;
+ SetDataType(0, &range_sum);
+ int range_count = 0;
std::size_t current_tuple = 0;
while (current_tuple < kNumTuples) {
// Start of new partition
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/query_execution/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/query_execution/CMakeLists.txt b/query_execution/CMakeLists.txt
index 0f74384..54c9e06 100644
--- a/query_execution/CMakeLists.txt
+++ b/query_execution/CMakeLists.txt
@@ -21,11 +21,7 @@ QS_PROTOBUF_GENERATE_CPP(queryexecution_QueryExecutionMessages_proto_srcs
queryexecution_QueryExecutionMessages_proto_hdrs
QueryExecutionMessages.proto)
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+set_gflags_lib_name ()
# Declare micro-libs:
add_library(quickstep_queryexecution_AdmitRequestMessage ../empty_src.cpp AdmitRequestMessage.hpp)
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/query_optimizer/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/query_optimizer/CMakeLists.txt b/query_optimizer/CMakeLists.txt
index 1a15271..b6c794d 100644
--- a/query_optimizer/CMakeLists.txt
+++ b/query_optimizer/CMakeLists.txt
@@ -24,11 +24,7 @@ configure_file (
"${CMAKE_CURRENT_BINARY_DIR}/QueryOptimizerConfig.h"
)
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+set_gflags_lib_name ()
add_subdirectory(cost_model)
add_subdirectory(expressions)
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/query_optimizer/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/query_optimizer/tests/CMakeLists.txt b/query_optimizer/tests/CMakeLists.txt
index b987322..5ef1d0a 100644
--- a/query_optimizer/tests/CMakeLists.txt
+++ b/query_optimizer/tests/CMakeLists.txt
@@ -20,11 +20,7 @@ add_subdirectory(logical_generator)
add_subdirectory(physical_generator)
add_subdirectory(resolver)
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+set_gflags_lib_name ()
add_library(quickstep_queryoptimizer_tests_OptimizerTest OptimizerTest.cpp OptimizerTest.hpp)
add_library(quickstep_queryoptimizer_tests_TestDatabaseLoader TestDatabaseLoader.cpp TestDatabaseLoader.hpp)
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/relational_operators/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/relational_operators/CMakeLists.txt b/relational_operators/CMakeLists.txt
index 526820e..f4f01d5 100644
--- a/relational_operators/CMakeLists.txt
+++ b/relational_operators/CMakeLists.txt
@@ -29,11 +29,7 @@ QS_PROTOBUF_GENERATE_CPP(relationaloperators_WorkOrder_proto_srcs
relationaloperators_WorkOrder_proto_hdrs
WorkOrder.proto)
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+set_gflags_lib_name ()
# Declare micro-libs:
add_library(quickstep_relationaloperators_AggregationOperator AggregationOperator.cpp AggregationOperator.hpp)
@@ -796,4 +792,4 @@ add_test(TextScanOperator_faulty_unittest
TextScanOperator_unittest
${TEXT_SCAN_FAULTY_INPUT_FILE}
${TEXT_SCAN_FAULTY_GOLDEN_OUTPUT_FILE}
- ${TEXT_SCAN_FAULTY_FAILURE_OUTPUT_FILE})
\ No newline at end of file
+ ${TEXT_SCAN_FAULTY_FAILURE_OUTPUT_FILE})
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/storage/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/storage/CMakeLists.txt b/storage/CMakeLists.txt
index 534630a..fddea1f 100644
--- a/storage/CMakeLists.txt
+++ b/storage/CMakeLists.txt
@@ -21,11 +21,7 @@ if (REBUILD_INDEX_ON_UPDATE_OVERFLOW)
set(QUICKSTEP_REBUILD_INDEX_ON_UPDATE_OVERFLOW TRUE)
endif()
-if (BUILD_SHARED_LIBS)
- set(GFLAGS_LIB_NAME gflags_nothreads-shared)
-else()
- set(GFLAGS_LIB_NAME gflags_nothreads-static)
-endif()
+set_gflags_lib_name ()
include(CheckIncludeFileCXX)
check_include_files("fcntl.h;glob.h;unistd.h;sys/stat.h;sys/types.h" QUICKSTEP_HAVE_FILE_MANAGER_POSIX)
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/apply_patches.sh
----------------------------------------------------------------------
diff --git a/third_party/apply_patches.sh b/third_party/apply_patches.sh
new file mode 100755
index 0000000..dff819b
--- /dev/null
+++ b/third_party/apply_patches.sh
@@ -0,0 +1,19 @@
+THIRD_PARTY_DIR=`pwd`
+if [ "${PWD##*/}" != "third_party" ]; then
+ echo "ERROR: This script can be run only from the third party directory"
+ exit 1
+fi
+
+PATCH_DIR=${THIRD_PARTY_DIR}/patches
+
+cp ${PATCH_DIR}/linenoise/CMakeLists.txt ${THIRD_PARTY_DIR}/linenoise
+
+# Apply re2 patch.
+cd ${THIRD_PARTY_DIR}/re2
+patch -p0 < ${PATCH_DIR}/re2/re2CMake.patch
+cd ${THIRD_PARTY_DIR}
+
+# Apply benchmark patch.
+cd ${THIRD_PARTY_DIR}/benchmark
+patch -p0 < ${PATCH_DIR}/benchmark/benchmarkCMake.patch
+cd ${THIRD_PARTY_DIR}
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/.gitignore
----------------------------------------------------------------------
diff --git a/third_party/benchmark/.gitignore b/third_party/benchmark/.gitignore
deleted file mode 100644
index ac46434..0000000
--- a/third_party/benchmark/.gitignore
+++ /dev/null
@@ -1,39 +0,0 @@
-*.a
-*.so
-*.so.?*
-*.dylib
-*.cmake
-!/cmake/*.cmake
-*~
-
-# cmake files.
-/Testing
-CMakeCache.txt
-CMakeFiles/
-cmake_install.cmake
-
-# makefiles.
-Makefile
-
-# in-source build.
-bin/
-lib/
-/test/benchmark_test
-/test/re_test
-
-# exuberant ctags.
-tags
-
-# YouCompleteMe configuration.
-.ycm_extra_conf.pyc
-
-# ninja generated files.
-.ninja_deps
-.ninja_log
-build.ninja
-install_manifest.txt
-rules.ninja
-
-# out-of-source build top-level folders.
-build/
-_build/
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/.travis.yml
----------------------------------------------------------------------
diff --git a/third_party/benchmark/.travis.yml b/third_party/benchmark/.travis.yml
deleted file mode 100644
index c7c53cc..0000000
--- a/third_party/benchmark/.travis.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-matrix:
- include:
- - os: linux
- env: BUILD_TYPE=Debug STD=c++0x
- - os: linux
- env: BUILD_TYPE=Debug STD=c++11
- - os: linux
- env: BUILD_TYPE=Release STD=c++0x
- - os: linux
- env: BUILD_TYPE=Release STD=c++11
- - os: osx
- env: BUILD_TYPE=Debug STD=c++11
- - os: osx
- env: BUILD_TYPE=Release STD=c++11
-
-language:
- - cpp
-
-before_install:
- - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo apt-get update -qq; fi
-
-install:
- - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo apt-get install -qq gcc-4.8 g++-4.8; fi
- - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi
-
-before_script:
- - mkdir build && cd build
-
-script:
- - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_FLAGS="-std=${STD}"
- - make
- - make CTEST_OUTPUT_ON_FAILURE=1 test
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/AUTHORS
----------------------------------------------------------------------
diff --git a/third_party/benchmark/AUTHORS b/third_party/benchmark/AUTHORS
deleted file mode 100644
index 561c67b..0000000
--- a/third_party/benchmark/AUTHORS
+++ /dev/null
@@ -1,25 +0,0 @@
-# This is the official list of benchmark authors for copyright purposes.
-# This file is distinct from the CONTRIBUTORS files.
-# See the latter for an explanation.
-#
-# Names should be added to this file as:
-# Name or Organization <email address>
-# The email address is not required for organizations.
-#
-# Please keep the list sorted.
-
-Arne Beer <ar...@twobeer.de>
-Christopher Seymour <ch...@hotmail.com>
-David Coeurjolly <da...@liris.cnrs.fr>
-Dominic Hamon <dm...@stripysock.com>
-Eugene Zhuk <eu...@gmail.com>
-Evgeny Safronov <di...@gmail.com>
-Felix Homann <li...@showlabor.de>
-Google Inc.
-JianXiong Zhou <zh...@gmail.com>
-Lei Xu <ed...@gmail.com>
-Matt Clarkson <ma...@gmail.com>
-Oleksandr Sochka <sa...@gmail.com>
-Paul Redmond <pa...@gmail.com>
-Shuo Chen <ch...@chenshuo.com>
-Yusuke Suzuki <ut...@gmail.com>
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/third_party/benchmark/CMakeLists.txt b/third_party/benchmark/CMakeLists.txt
deleted file mode 100644
index 2f050a4..0000000
--- a/third_party/benchmark/CMakeLists.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-cmake_minimum_required (VERSION 2.8)
-project (benchmark)
-
-option(BENCHMARK_ENABLE_SHARED "Enable building a shared library." OFF)
-option(BENCHMARK_ENABLE_TESTING "Enable testing of the benchmark library." OFF)
-# Make sure we can import out CMake functions
-list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
-
-# Read the git tags to determine the project version
-include(GetGitVersion)
-get_git_version(GIT_VERSION)
-
-# Tell the user what versions we are using
-string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION})
-message("-- Version: ${VERSION}")
-
-# The version of the libraries
-set(GENERIC_LIB_VERSION ${VERSION})
-string(SUBSTRING ${VERSION} 0 1 GENERIC_LIB_SOVERSION)
-
-# Try and enable C++11. Don't use C++14 because it doesn't work in some
-# configurations.
-include(CheckCXXCompilerFlag)
-include(AddCXXCompilerFlag)
-include(CXXFeatureCheck)
-
-check_cxx_compiler_flag(-std=c++11 HAVE_FLAG_CXX_11)
-check_cxx_compiler_flag(-std=c++0x HAVE_FLAG_CXX_0X)
-if (HAVE_FLAG_CXX_11)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
-elseif (HAVE_FLAG_CXX_0X)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
-endif()
-
-# Turn compiler warnings up to 11
-add_cxx_compiler_flag(-Wall)
-add_cxx_compiler_flag(-Wextra)
-add_cxx_compiler_flag(-Wshadow)
-add_cxx_compiler_flag(-Werror)
-add_cxx_compiler_flag(-pedantic-errors)
-# TODO(ericwf): enable this for g++
-#add_cxx_compiler_flag(-Wzero-as-null-pointer-constant)
-# Release flags
-add_cxx_compiler_flag(-fno-strict-aliasing RELEASE)
-
-add_cxx_compiler_flag(-Wthread-safety)
-
-# C++ feature checks
-cxx_feature_check(STD_REGEX)
-cxx_feature_check(GNU_POSIX_REGEX)
-cxx_feature_check(POSIX_REGEX)
-
-# Set up directories
-include_directories(${PROJECT_SOURCE_DIR}/include)
-
-# Build the targets
-add_subdirectory(src)
-
-if (BENCHMARK_ENABLE_TESTING)
- enable_testing()
- add_subdirectory(test)
-endif()
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/CONTRIBUTING.md
----------------------------------------------------------------------
diff --git a/third_party/benchmark/CONTRIBUTING.md b/third_party/benchmark/CONTRIBUTING.md
deleted file mode 100644
index 43de4c9..0000000
--- a/third_party/benchmark/CONTRIBUTING.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# How to contribute #
-
-We'd love to accept your patches and contributions to this project. There are
-a just a few small guidelines you need to follow.
-
-
-## Contributor License Agreement ##
-
-Contributions to any Google project must be accompanied by a Contributor
-License Agreement. This is not a copyright **assignment**, it simply gives
-Google permission to use and redistribute your contributions as part of the
-project.
-
- * If you are an individual writing original source code and you're sure you
- own the intellectual property, then you'll need to sign an [individual
- CLA][].
-
- * If you work for a company that wants to allow you to contribute your work,
- then you'll need to sign a [corporate CLA][].
-
-You generally only need to submit a CLA once, so if you've already submitted
-one (even if it was for a different project), you probably don't need to do it
-again.
-
-[individual CLA]: https://developers.google.com/open-source/cla/individual
-[corporate CLA]: https://developers.google.com/open-source/cla/corporate
-
-Once your CLA is submitted (or if you already submitted one for
-another Google project), make a commit adding yourself to the
-[AUTHORS][] and [CONTRIBUTORS][] files. This commit can be part
-of your first [pull request][].
-
-[AUTHORS]: AUTHORS
-[CONTRIBUTORS]: CONTRIBUTORS
-
-
-## Submitting a patch ##
-
- 1. It's generally best to start by opening a new issue describing the bug or
- feature you're intending to fix. Even if you think it's relatively minor,
- it's helpful to know what people are working on. Mention in the initial
- issue that you are planning to work on that bug or feature so that it can
- be assigned to you.
-
- 1. Follow the normal process of [forking][] the project, and setup a new
- branch to work in. It's important that each group of changes be done in
- separate branches in order to ensure that a pull request only includes the
- commits related to that bug or feature.
-
- 1. Do your best to have [well-formed commit messages][] for each change.
- This provides consistency throughout the project, and ensures that commit
- messages are able to be formatted properly by various git tools.
-
- 1. Finally, push the commits to your fork and submit a [pull request][].
-
-[forking]: https://help.github.com/articles/fork-a-repo
-[well-formed commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
-[pull request]: https://help.github.com/articles/creating-a-pull-request
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/CONTRIBUTORS
----------------------------------------------------------------------
diff --git a/third_party/benchmark/CONTRIBUTORS b/third_party/benchmark/CONTRIBUTORS
deleted file mode 100644
index 5616976..0000000
--- a/third_party/benchmark/CONTRIBUTORS
+++ /dev/null
@@ -1,41 +0,0 @@
-# People who have agreed to one of the CLAs and can contribute patches.
-# The AUTHORS file lists the copyright holders; this file
-# lists people. For example, Google employees are listed here
-# but not in AUTHORS, because Google holds the copyright.
-#
-# Names should be added to this file only after verifying that
-# the individual or the individual's organization has agreed to
-# the appropriate Contributor License Agreement, found here:
-#
-# https://developers.google.com/open-source/cla/individual
-# https://developers.google.com/open-source/cla/corporate
-#
-# The agreement for individuals can be filled out on the web.
-#
-# When adding J Random Contributor's name to this file,
-# either J's name or J's organization's name should be
-# added to the AUTHORS file, depending on whether the
-# individual or corporate CLA was used.
-#
-# Names should be added to this file as:
-# Name <email address>
-#
-# Please keep the list sorted.
-
-Arne Beer <ar...@twobeer.de>
-Chris Kennelly <ck...@google.com> <ck...@ckennelly.com>
-Christopher Seymour <ch...@hotmail.com>
-David Coeurjolly <da...@liris.cnrs.fr>
-Dominic Hamon <dm...@stripysock.com>
-Eugene Zhuk <eu...@gmail.com>
-Evgeny Safronov <di...@gmail.com>
-Felix Homann <li...@showlabor.de>
-JianXiong Zhou <zh...@gmail.com>
-Lei Xu <ed...@gmail.com>
-Matt Clarkson <ma...@gmail.com>
-Oleksandr Sochka <sa...@gmail.com>
-Pascal Leroy <ph...@google.com>
-Paul Redmond <pa...@gmail.com>
-Pierre Phaneuf <pp...@google.com>
-Shuo Chen <ch...@chenshuo.com>
-Yusuke Suzuki <ut...@gmail.com>
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/LICENSE
----------------------------------------------------------------------
diff --git a/third_party/benchmark/LICENSE b/third_party/benchmark/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/third_party/benchmark/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/README.md
----------------------------------------------------------------------
diff --git a/third_party/benchmark/README.md b/third_party/benchmark/README.md
deleted file mode 100644
index 30f48b3..0000000
--- a/third_party/benchmark/README.md
+++ /dev/null
@@ -1,165 +0,0 @@
-benchmark
-=========
-[![Build Status](https://travis-ci.org/google/benchmark.svg?branch=master)](https://travis-ci.org/google/benchmark)
-
-A library to support the benchmarking of functions, similar to unit-tests.
-
-Discussion group: https://groups.google.com/d/forum/benchmark-discuss
-
-Example usage
--------------
-Define a function that executes the code to be measured a
-specified number of times:
-
-```c++
-static void BM_StringCreation(benchmark::State& state) {
- while (state.KeepRunning())
- std::string empty_string;
-}
-// Register the function as a benchmark
-BENCHMARK(BM_StringCreation);
-
-// Define another benchmark
-static void BM_StringCopy(benchmark::State& state) {
- std::string x = "hello";
- while (state.KeepRunning())
- std::string copy(x);
-}
-BENCHMARK(BM_StringCopy);
-
-// Augment the main() program to invoke benchmarks if specified
-// via the --benchmarks command line flag. E.g.,
-// my_unittest --benchmark_filter=all
-// my_unittest --benchmark_filter=BM_StringCreation
-// my_unittest --benchmark_filter=String
-// my_unittest --benchmark_filter='Copy|Creation'
-int main(int argc, const char* argv[]) {
- benchmark::Initialize(&argc, argv);
- benchmark::RunSpecifiedBenchmarks();
- return 0;
-}
-```
-
-Sometimes a family of microbenchmarks can be implemented with
-just one routine that takes an extra argument to specify which
-one of the family of benchmarks to run. For example, the following
-code defines a family of microbenchmarks for measuring the speed
-of `memcpy()` calls of different lengths:
-
-```c++
-static void BM_memcpy(benchmark::State& state) {
- char* src = new char[state.range_x()]; char* dst = new char[state.range_x()];
- memset(src, 'x', state.range_x());
- while (state.KeepRunning())
- memcpy(dst, src, state.range_x());
- state.SetBytesProcessed(int64_t(state.iterations) * int64_t(state.range_x()));
- delete[] src;
- delete[] dst;
-}
-BENCHMARK(BM_memcpy)->Arg(8)->Arg(64)->Arg(512)->Arg(1<<10)->Arg(8<<10);
-```
-
-The preceding code is quite repetitive, and can be replaced with the
-following short-hand. The following invocation will pick a few
-appropriate arguments in the specified range and will generate a
-microbenchmark for each such argument.
-
-```c++
-BENCHMARK(BM_memcpy)->Range(8, 8<<10);
-```
-
-You might have a microbenchmark that depends on two inputs. For
-example, the following code defines a family of microbenchmarks for
-measuring the speed of set insertion.
-
-```c++
-static void BM_SetInsert(benchmark::State& state) {
- while (state.KeepRunning()) {
- state.PauseTiming();
- std::set<int> data = ConstructRandomSet(state.range_x());
- state.ResumeTiming();
- for (int j = 0; j < state.rangeY; ++j)
- data.insert(RandomNumber());
- }
-}
-BENCHMARK(BM_SetInsert)
- ->ArgPair(1<<10, 1)
- ->ArgPair(1<<10, 8)
- ->ArgPair(1<<10, 64)
- ->ArgPair(1<<10, 512)
- ->ArgPair(8<<10, 1)
- ->ArgPair(8<<10, 8)
- ->ArgPair(8<<10, 64)
- ->ArgPair(8<<10, 512);
-```
-
-The preceding code is quite repetitive, and can be replaced with
-the following short-hand. The following macro will pick a few
-appropriate arguments in the product of the two specified ranges
-and will generate a microbenchmark for each such pair.
-
-```c++
-BENCHMARK(BM_SetInsert)->RangePair(1<<10, 8<<10, 1, 512);
-```
-
-For more complex patterns of inputs, passing a custom function
-to Apply allows programmatic specification of an
-arbitrary set of arguments to run the microbenchmark on.
-The following example enumerates a dense range on one parameter,
-and a sparse range on the second.
-
-```c++
-static benchmark::internal::Benchmark* CustomArguments(
- benchmark::internal::Benchmark* b) {
- for (int i = 0; i <= 10; ++i)
- for (int j = 32; j <= 1024*1024; j *= 8)
- b = b->ArgPair(i, j);
- return b;
-}
-BENCHMARK(BM_SetInsert)->Apply(CustomArguments);
-```
-
-Templated microbenchmarks work the same way:
-Produce then consume 'size' messages 'iters' times
-Measures throughput in the absence of multiprogramming.
-
-```c++
-template <class Q> int BM_Sequential(benchmark::State& state) {
- Q q;
- typename Q::value_type v;
- while (state.KeepRunning()) {
- for (int i = state.range_x(); i--; )
- q.push(v);
- for (int e = state.range_x(); e--; )
- q.Wait(&v);
- }
- // actually messages, not bytes:
- state.SetBytesProcessed(
- static_cast<int64_t>(state.iterations())*state.range_x());
-}
-BENCHMARK_TEMPLATE(BM_Sequential, WaitQueue<int>)->Range(1<<0, 1<<10);
-```
-
-In a multithreaded test, it is guaranteed that none of the threads will start
-until all have called KeepRunning, and all will have finished before KeepRunning
-returns false. As such, any global setup or teardown you want to do can be
-wrapped in a check against the thread index:
-
-```c++
-static void BM_MultiThreaded(benchmark::State& state) {
- if (state.thread_index == 0) {
- // Setup code here.
- }
- while (state.KeepRunning()) {
- // Run the test as normal.
- }
- if (state.thread_index == 0) {
- // Teardown code here.
- }
-}
-BENCHMARK(BM_MultiThreaded)->Threads(2);
-```
-
-Linking against the library
----------------------------
-When using gcc, it is necessary to link against pthread to avoid runtime exceptions. This is due to how gcc implements std::thread. See [issue #67](https://github.com/google/benchmark/issues/67) for more details.
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/cmake/AddCXXCompilerFlag.cmake
----------------------------------------------------------------------
diff --git a/third_party/benchmark/cmake/AddCXXCompilerFlag.cmake b/third_party/benchmark/cmake/AddCXXCompilerFlag.cmake
deleted file mode 100644
index 7c0f5a3..0000000
--- a/third_party/benchmark/cmake/AddCXXCompilerFlag.cmake
+++ /dev/null
@@ -1,38 +0,0 @@
-# - Adds a compiler flag if it is supported by the compiler
-#
-# This function checks that the supplied compiler flag is supported and then
-# adds it to the corresponding compiler flags
-#
-# add_cxx_compiler_flag(<FLAG> [<VARIANT>])
-#
-# - Example
-#
-# include(AddCXXCompilerFlag)
-# add_cxx_compiler_flag(-Wall)
-# add_cxx_compiler_flag(-no-strict-aliasing RELEASE)
-# Requires CMake 2.6+
-
-if(__add_cxx_compiler_flag)
- return()
-endif()
-set(__add_cxx_compiler_flag INCLUDED)
-
-include(CheckCXXCompilerFlag)
-
-function(add_cxx_compiler_flag FLAG)
- if(ARGV1)
- set(VARIANT ${ARGV1})
- string(TOLOWER ${VARIANT} VARIANT)
- set(VARIANT " ${VARIANT}")
- endif()
- string(TOUPPER "HAVE_${FLAG}" SANITIZED_FLAG)
- string(REGEX REPLACE "[^A-Za-z_0-9]" "_" SANITIZED_FLAG ${SANITIZED_FLAG})
- string(REGEX REPLACE "_+" "_" SANITIZED_FLAG ${SANITIZED_FLAG})
- check_cxx_compiler_flag(${FLAG} ${SANITIZED_FLAG})
- if(${SANITIZED_FLAG})
- string(REGEX REPLACE "[^A-Za-z_0-9]" "_" VARIANT "${VARIANT}")
- string(TOUPPER "${VARIANT}" VARIANT)
- set(CMAKE_CXX_FLAGS${VARIANT} "${CMAKE_CXX_FLAGS${VARIANT}} ${FLAG}" PARENT_SCOPE)
- endif()
-endfunction()
-
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/cmake/CXXFeatureCheck.cmake
----------------------------------------------------------------------
diff --git a/third_party/benchmark/cmake/CXXFeatureCheck.cmake b/third_party/benchmark/cmake/CXXFeatureCheck.cmake
deleted file mode 100644
index 23ee8ac..0000000
--- a/third_party/benchmark/cmake/CXXFeatureCheck.cmake
+++ /dev/null
@@ -1,39 +0,0 @@
-# - Compile and run code to check for C++ features
-#
-# This functions compiles a source file under the `cmake` folder
-# and adds the corresponding `HAVE_[FILENAME]` flag to the CMake
-# environment
-#
-# cxx_feature_check(<FLAG> [<VARIANT>])
-#
-# - Example
-#
-# include(CXXFeatureCheck)
-# cxx_feature_check(STD_REGEX)
-# Requires CMake 2.6+
-
-if(__cxx_feature_check)
- return()
-endif()
-set(__cxx_feature_check INCLUDED)
-
-function(cxx_feature_check FILE)
- string(TOLOWER ${FILE} FILE)
- string(TOUPPER ${FILE} VAR)
- string(TOUPPER "HAVE_${VAR}" FEATURE)
- message("-- Performing Test ${FEATURE}")
- try_run(RUN_${FEATURE} COMPILE_${FEATURE}
- ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/${FILE}.cpp)
- if(RUN_${FEATURE} EQUAL 0)
- message("-- Performing Test ${FEATURE} -- success")
- set(HAVE_${VAR} 1 PARENT_SCOPE)
- add_definitions(-DHAVE_${VAR})
- else()
- if(NOT COMPILE_${FEATURE})
- message("-- Performing Test ${FEATURE} -- failed to compile")
- else()
- message("-- Performing Test ${FEATURE} -- compiled but failed to run")
- endif()
- endif()
-endfunction()
-
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/cmake/GetGitVersion.cmake
----------------------------------------------------------------------
diff --git a/third_party/benchmark/cmake/GetGitVersion.cmake b/third_party/benchmark/cmake/GetGitVersion.cmake
deleted file mode 100644
index e017fa3..0000000
--- a/third_party/benchmark/cmake/GetGitVersion.cmake
+++ /dev/null
@@ -1,45 +0,0 @@
-# - Returns a version string from Git tags
-#
-# This function inspects the annotated git tags for the project and returns a string
-# into a CMake variable
-#
-# get_git_version(<var>)
-#
-# - Example
-#
-# include(GetGitVersion)
-# get_git_version(GIT_VERSION)
-#
-# Requires CMake 2.6+
-
-if(__get_git_version)
- return()
-endif()
-set(__get_git_version INCLUDED)
-
-function(get_git_version var)
- execute_process(COMMAND git describe --match "v[0-9]*.[0-9]*.[0-9]*" --abbrev=8
- RESULT_VARIABLE status
- OUTPUT_VARIABLE GIT_VERSION
- ERROR_QUIET)
- if(${status})
- set(GIT_VERSION "v0.0.0")
- else()
- string(STRIP ${GIT_VERSION} GIT_VERSION)
- string(REGEX REPLACE "-[0-9]+-g" "-" GIT_VERSION ${GIT_VERSION})
- endif()
-
- # Work out if the repository is dirty
- execute_process(COMMAND git update-index -q --refresh
- OUTPUT_QUIET
- ERROR_QUIET)
- execute_process(COMMAND git diff-index --name-only HEAD --
- OUTPUT_VARIABLE GIT_DIFF_INDEX
- ERROR_QUIET)
- string(COMPARE NOTEQUAL "${GIT_DIFF_INDEX}" "" GIT_DIRTY)
- if (${GIT_DIRTY})
- set(GIT_VERSION "${GIT_VERSION}-dirty")
- endif()
- message("-- git Version: ${GIT_VERSION}")
- set(${var} ${GIT_VERSION} PARENT_SCOPE)
-endfunction()
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/cmake/gnu_posix_regex.cpp
----------------------------------------------------------------------
diff --git a/third_party/benchmark/cmake/gnu_posix_regex.cpp b/third_party/benchmark/cmake/gnu_posix_regex.cpp
deleted file mode 100644
index b5b91cd..0000000
--- a/third_party/benchmark/cmake/gnu_posix_regex.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <gnuregex.h>
-#include <string>
-int main() {
- std::string str = "test0159";
- regex_t re;
- int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB);
- if (ec != 0) {
- return ec;
- }
- return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
-}
-
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/cmake/posix_regex.cpp
----------------------------------------------------------------------
diff --git a/third_party/benchmark/cmake/posix_regex.cpp b/third_party/benchmark/cmake/posix_regex.cpp
deleted file mode 100644
index a31af80..0000000
--- a/third_party/benchmark/cmake/posix_regex.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <regex.h>
-#include <string>
-int main() {
- std::string str = "test0159";
- regex_t re;
- int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB);
- if (ec != 0) {
- return ec;
- }
- return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
-}
-
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b249eb11/third_party/benchmark/cmake/std_regex.cpp
----------------------------------------------------------------------
diff --git a/third_party/benchmark/cmake/std_regex.cpp b/third_party/benchmark/cmake/std_regex.cpp
deleted file mode 100644
index 696f2a2..0000000
--- a/third_party/benchmark/cmake/std_regex.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <regex>
-#include <string>
-int main() {
- const std::string str = "test0159";
- std::regex re;
- re = std::regex("^[a-z]+[0-9]+$",
- std::regex_constants::extended | std::regex_constants::nosubs);
- return std::regex_search(str, re) ? 0 : -1;
-}
-