[Bf-blender-cvs] [73251bfe921] temp-lib-google-benchmark: Added Goolge Benchmark 1.5.3 to extern.

Jeroen Bakker noreply at git.blender.org
Wed May 26 12:55:59 CEST 2021


Commit: 73251bfe92143f3caf308d5f12857bbf06ff001c
Author: Jeroen Bakker
Date:   Wed May 26 11:42:38 2021 +0200
Branches: temp-lib-google-benchmark
https://developer.blender.org/rB73251bfe92143f3caf308d5f12857bbf06ff001c

Added Goolge Benchmark 1.5.3 to extern.

===================================================================

A	extern/gbenchmark/AUTHORS
A	extern/gbenchmark/CMakeLists.txt
A	extern/gbenchmark/CONTRIBUTORS
A	extern/gbenchmark/LICENSE
A	extern/gbenchmark/README.blender
A	extern/gbenchmark/README.md
A	extern/gbenchmark/bindings/python/BUILD
A	extern/gbenchmark/bindings/python/build_defs.bzl
A	extern/gbenchmark/bindings/python/google_benchmark/BUILD
A	extern/gbenchmark/bindings/python/google_benchmark/__init__.py
A	extern/gbenchmark/bindings/python/google_benchmark/benchmark.cc
A	extern/gbenchmark/bindings/python/google_benchmark/example.py
A	extern/gbenchmark/bindings/python/pybind11.BUILD
A	extern/gbenchmark/bindings/python/python_headers.BUILD
A	extern/gbenchmark/bindings/python/requirements.txt
A	extern/gbenchmark/cmake/AddCXXCompilerFlag.cmake
A	extern/gbenchmark/cmake/CXXFeatureCheck.cmake
A	extern/gbenchmark/cmake/Config.cmake.in
A	extern/gbenchmark/cmake/GetGitVersion.cmake
A	extern/gbenchmark/cmake/GoogleTest.cmake
A	extern/gbenchmark/cmake/GoogleTest.cmake.in
A	extern/gbenchmark/cmake/Modules/FindLLVMAr.cmake
A	extern/gbenchmark/cmake/Modules/FindLLVMNm.cmake
A	extern/gbenchmark/cmake/Modules/FindLLVMRanLib.cmake
A	extern/gbenchmark/cmake/benchmark.pc.in
A	extern/gbenchmark/cmake/gnu_posix_regex.cpp
A	extern/gbenchmark/cmake/llvm-toolchain.cmake
A	extern/gbenchmark/cmake/posix_regex.cpp
A	extern/gbenchmark/cmake/split_list.cmake
A	extern/gbenchmark/cmake/std_regex.cpp
A	extern/gbenchmark/cmake/steady_clock.cpp
A	extern/gbenchmark/cmake/thread_safety_attributes.cpp
A	extern/gbenchmark/include/benchmark/benchmark.h
A	extern/gbenchmark/src/CMakeLists.txt
A	extern/gbenchmark/src/arraysize.h
A	extern/gbenchmark/src/benchmark.cc
A	extern/gbenchmark/src/benchmark_api_internal.cc
A	extern/gbenchmark/src/benchmark_api_internal.h
A	extern/gbenchmark/src/benchmark_main.cc
A	extern/gbenchmark/src/benchmark_name.cc
A	extern/gbenchmark/src/benchmark_register.cc
A	extern/gbenchmark/src/benchmark_register.h
A	extern/gbenchmark/src/benchmark_runner.cc
A	extern/gbenchmark/src/benchmark_runner.h
A	extern/gbenchmark/src/check.h
A	extern/gbenchmark/src/colorprint.cc
A	extern/gbenchmark/src/colorprint.h
A	extern/gbenchmark/src/commandlineflags.cc
A	extern/gbenchmark/src/commandlineflags.h
A	extern/gbenchmark/src/complexity.cc
A	extern/gbenchmark/src/complexity.h
A	extern/gbenchmark/src/console_reporter.cc
A	extern/gbenchmark/src/counter.cc
A	extern/gbenchmark/src/counter.h
A	extern/gbenchmark/src/csv_reporter.cc
A	extern/gbenchmark/src/cycleclock.h
A	extern/gbenchmark/src/internal_macros.h
A	extern/gbenchmark/src/json_reporter.cc
A	extern/gbenchmark/src/log.h
A	extern/gbenchmark/src/mutex.h
A	extern/gbenchmark/src/re.h
A	extern/gbenchmark/src/reporter.cc
A	extern/gbenchmark/src/sleep.cc
A	extern/gbenchmark/src/sleep.h
A	extern/gbenchmark/src/statistics.cc
A	extern/gbenchmark/src/statistics.h
A	extern/gbenchmark/src/string_util.cc
A	extern/gbenchmark/src/string_util.h
A	extern/gbenchmark/src/sysinfo.cc
A	extern/gbenchmark/src/thread_manager.h
A	extern/gbenchmark/src/thread_timer.h
A	extern/gbenchmark/src/timers.cc
A	extern/gbenchmark/src/timers.h
A	extern/gbenchmark/tools/BUILD.bazel
A	extern/gbenchmark/tools/compare.py
A	extern/gbenchmark/tools/gbench/Inputs/test1_run1.json
A	extern/gbenchmark/tools/gbench/Inputs/test1_run2.json
A	extern/gbenchmark/tools/gbench/Inputs/test2_run.json
A	extern/gbenchmark/tools/gbench/Inputs/test3_run0.json
A	extern/gbenchmark/tools/gbench/Inputs/test3_run1.json
A	extern/gbenchmark/tools/gbench/__init__.py
A	extern/gbenchmark/tools/gbench/report.py
A	extern/gbenchmark/tools/gbench/util.py
A	extern/gbenchmark/tools/requirements.txt
A	extern/gbenchmark/tools/strip_asm.py

===================================================================

diff --git a/extern/gbenchmark/AUTHORS b/extern/gbenchmark/AUTHORS
new file mode 100644
index 00000000000..9b980419f2c
--- /dev/null
+++ b/extern/gbenchmark/AUTHORS
@@ -0,0 +1,59 @@
+# 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.
+
+Albert Pretorius <pretoalb at gmail.com>
+Alex Steele <steeleal123 at gmail.com>
+Andriy Berestovskyy <berestovskyy at gmail.com>
+Arne Beer <arne at twobeer.de>
+Carto
+Christian Wassermann <christian_wassermann at web.de>
+Christopher Seymour <chris.j.seymour at hotmail.com>
+Colin Braley <braley.colin at gmail.com>
+Daniel Harvey <danielharvey458 at gmail.com>
+David Coeurjolly <david.coeurjolly at liris.cnrs.fr>
+Deniz Evrenci <denizevrenci at gmail.com>
+Dirac Research 
+Dominik Czarnota <dominik.b.czarnota at gmail.com>
+Eric Backus <eric_backus at alum.mit.edu>
+Eric Fiselier <eric at efcs.ca>
+Eugene Zhuk <eugene.zhuk at gmail.com>
+Evgeny Safronov <division494 at gmail.com>
+Federico Ficarelli <federico.ficarelli at gmail.com>
+Felix Homann <linuxaudio at showlabor.de>
+Gergő Szitár <szitar.gergo at gmail.com>
+Google Inc.
+International Business Machines Corporation
+Ismael Jimenez Martinez <ismael.jimenez.martinez at gmail.com>
+Jern-Kuan Leong <jernkuan at gmail.com>
+JianXiong Zhou <zhoujianxiong2 at gmail.com>
+Joao Paulo Magalhaes <joaoppmagalhaes at gmail.com>
+Jordan Williams <jwillikers at protonmail.com>
+Jussi Knuuttila <jussi.knuuttila at gmail.com>
+Kaito Udagawa <umireon at gmail.com>
+Kishan Kumar <kumar.kishan at outlook.com>
+Lei Xu <eddyxu at gmail.com>
+Matt Clarkson <mattyclarkson at gmail.com>
+Maxim Vafin <maxvafin at gmail.com>
+MongoDB Inc.
+Nick Hutchinson <nshutchinson at gmail.com>
+Oleksandr Sochka <sasha.sochka at gmail.com>
+Ori Livneh <ori.livneh at gmail.com>
+Paul Redmond <paul.redmond at gmail.com>
+Radoslav Yovchev <radoslav.tm at gmail.com>
+Roman Lebedev <lebedev.ri at gmail.com>
+Sayan Bhattacharjee <aero.sayan at gmail.com>
+Shuo Chen <chenshuo at chenshuo.com>
+Steinar H. Gunderson <sgunderson at bigfoot.com>
+Stripe, Inc.
+Tobias Schmidt <tobias.schmidt at in.tum.de>
+Yixuan Qiu <yixuanq at gmail.com>
+Yusuke Suzuki <utatane.tea at gmail.com>
+Zbigniew Skowron <zbychs at gmail.com>
+Min-Yih Hsu <yihshyng223 at gmail.com>
diff --git a/extern/gbenchmark/CMakeLists.txt b/extern/gbenchmark/CMakeLists.txt
new file mode 100644
index 00000000000..2260bc4ea3d
--- /dev/null
+++ b/extern/gbenchmark/CMakeLists.txt
@@ -0,0 +1,61 @@
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2021, Blender Foundation
+# All rights reserved.
+# ***** END GPL LICENSE BLOCK *****
+
+# avoid noisy warnings
+if(CMAKE_COMPILER_IS_GNUCC)
+  remove_cc_flag(
+    "-Wmissing-declarations"
+  )
+endif()
+
+set(INC
+  .
+  include
+)
+
+set(INC_SYS
+)
+
+set(SRC
+  src/benchmark.cc
+  src/benchmark_runner.cc
+  src/benchmark_register.cc
+  src/benchmark_name.cc
+  src/benchmark_main.cc
+  src/benchmark_api_internal.cc
+  src/colorprint.cc
+  src/commandlineflags.cc
+  src/complexity.cc
+  src/console_reporter.cc
+  src/counter.cc
+  src/csv_reporter.cc
+  src/json_reporter.cc
+  src/reporter.cc
+  src/sleep.cc
+  src/statistics.cc
+  src/string_util.cc
+  src/sysinfo.cc
+  src/timers.cc
+)
+
+set(LIB
+)
+
+blender_add_lib(extern_gbenchmark "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
diff --git a/extern/gbenchmark/CONTRIBUTORS b/extern/gbenchmark/CONTRIBUTORS
new file mode 100644
index 00000000000..8370a2d737a
--- /dev/null
+++ b/extern/gbenchmark/CONTRIBUTORS
@@ -0,0 +1,84 @@
+# 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.
+
+Abhina Sreeskantharajan <abhina.sreeskantharajan at ibm.com>
+Albert Pretorius <pretoalb at gmail.com>
+Alex Steele <steelal123 at gmail.com>
+Andriy Berestovskyy <berestovskyy at gmail.com>
+Arne Beer <arne at twobeer.de>
+Billy Robert O'Neal III <billy.oneal at gmail.com> <bion at microsoft.com>
+Chris Kennelly <ckennelly at google.com> <ckennelly at ckennelly.com>
+Christian Wassermann <christian_wassermann at web.de>
+Christopher Seymour <chris.j.seymour at hotmail.com>
+Colin Braley <braley.colin at gmail.com>
+Cyrille Faucheux <cyrille.faucheux at gmail.com>
+Daniel Harvey <danielharvey458 at gmail.com>
+David Coeurjolly <david.coeurjolly at liris.cnrs.fr>
+Deniz Evrenci <denizevrenci at gmail.com>
+Dominic Hamon <dma at stripysock.com> <dominic at google.com>
+Dominik Czarnota <dominik.b.czarnota at gmail.com>
+Eric Backus <eric_backus at alum.mit.edu>
+Eric Fiselier <eric at efcs.ca>
+Eugene Zhuk <eugene.zhuk at gmail.com>
+Evgeny Safronov <division494 at gmail.com>
+Fanbo Meng <fanbo.meng at ibm.com>
+Federico Ficarelli <federico.ficarelli at gmail.com>
+Felix Homann <linuxaudio at showlabor.de>
+Geoffrey Martin-Noble <gcmn at google.com> <gmngeoffrey at gmail.com>
+Gergő Szitár <szitar.gergo at gmail.com>
+Hannes Hauswedell <h2 at fsfe.org>
+Ismael Jimenez Martinez <ismael.jimenez.martinez at gmail.com>
+Jern-Kuan Leong <jernkuan at gmail.com>
+JianXiong Zhou <zhoujianxiong2 at gmail.com>
+Joao Paulo Magalhaes <joaoppmagalhaes at gmail.com>
+John Millikin <jmillikin at stripe.com>
+Jordan Williams <jwillikers at protonmail.com>
+Jussi Knuuttila <jussi.knuuttila at gmail.com>
+Kai Wolf <kai.wolf at gmail.com>
+Kaito Udagawa <umireon at gmail.com>
+Kishan Kumar <kumar.kishan at outlook.com>
+Lei Xu <eddyxu at gmail.com>
+Matt Clarkson <mattyclarkson at gmail.com>
+Maxim Vafin <maxvafin at gmail.com>
+Nick Hutchinson <nshutchinson at gmail.com>
+Oleksandr Sochka <sasha.sochka at gmail.com>
+Ori Livneh <ori.livneh at gmail.com>
+Pascal Leroy <phl at google.com>
+Paul Redmond <paul.redmond at gmail.com>
+Pierre Phaneuf <pphaneuf at google.com>
+Radoslav Yovchev <radoslav.tm at gmail.com>
+Raul Marin <rmrodriguez at cartodb.com>
+Ray Glover <ray.glover at uk.ibm.com>
+Robert Guo <robert.guo at mongodb.com>
+Roman Lebedev <lebedev.ri at gmail.com>
+Sayan Bhattacharjee <aero.sayan at gmail.com>
+Shuo Chen <chenshuo at chenshuo.com>
+Steven Wan <wan.yu at ibm.com>
+Tobias Schmidt <tobias.schmidt at in.tum.de>
+Tobias Ulvgård <tobias.ulvgard at dirac.se>
+Tom Madams <tom.ej.madams at gmail.com> <tmadams at google.com>
+Yixuan Qiu <yixuanq at gmail.com>
+Yusuke Suzuki <utatane.tea at gmail.com>
+Zbigniew Skowron <zbychs at gmail.com>
+Min-Yih Hsu <yihshyng223 at gmail.com>
diff --git a/extern/gbenchmark/LICENSE b/extern/gbenchmark/LICENSE
new file mode 100644
index 00000000000..d6456956733
--- /dev/null
+++ b/extern/gbenchmark/LICENSE
@@ -0,0 +1,202 @@
+
+                                 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. F

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list