[v2,0/2] benchtests: Building benchmarks as static executables

Message ID 20210809141659.2075052-1-hjl.tools@gmail.com
Headers
Series benchtests: Building benchmarks as static executables |

Message

H.J. Lu Aug. 9, 2021, 2:16 p.m. UTC
  Changes in v2:

On i686, there is no multiarch memove in libc.a, don't include multiarch
memove in ifunc-impl-list.c in libc.a.

Building benchmarks as static executables:
=========================================

To build benchmarks as static executables, on the build system, run:

  $ make STATIC-BENCHTESTS=yes bench-build

You can copy benchmark executables to another machine and run them
without copying the source nor build directories.

H.J. Lu (2):
  i686: Don't include multiarch memove in libc.a
  benchtests: Building benchmarks as static executables

 benchtests/Makefile                           | 26 ++++++++++++++-----
 benchtests/README                             | 10 +++++++
 sysdeps/i386/i686/multiarch/ifunc-impl-list.c |  2 +-
 3 files changed, 30 insertions(+), 8 deletions(-)