diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-07-30 12:15:27 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-10-04 10:09:13 -0700 |
commit | de0a7c5a0b2061c86441a1822d6c3a898b0b6ba2 (patch) | |
tree | 9c3f2621a02bc24cb5a694b81fa1765a004e68c7 /benchtests/README | |
parent | 83b5323261bb72313bffcf37476c1b8f0847c736 (diff) | |
download | glibc-de0a7c5a0b2061c86441a1822d6c3a898b0b6ba2.tar.gz glibc-de0a7c5a0b2061c86441a1822d6c3a898b0b6ba2.tar.xz glibc-de0a7c5a0b2061c86441a1822d6c3a898b0b6ba2.zip |
benchtests: Building benchmarks as static executables
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.
Diffstat (limited to 'benchtests/README')
-rw-r--r-- | benchtests/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/benchtests/README b/benchtests/README index 44736d7e63..4d83a05b4b 100644 --- a/benchtests/README +++ b/benchtests/README @@ -62,6 +62,16 @@ otherwise the above command may try to build the benchmark again. Benchmarks that require generated code to be executed during the build are skipped when cross-building. +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. + Running subsets of benchmarks: ============================== |