aboutsummaryrefslogtreecommitdiff
path: root/benchtests/README
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <sid@reserved-bit.com>2016-04-20 13:19:01 +0530
committerSiddhesh Poyarekar <sid@reserved-bit.com>2016-04-20 13:19:01 +0530
commit2d304f3c6f5c34b4dd34c7ab0663d93adec14c26 (patch)
tree70d1819bbf55ad7353ea296fc354fd0b48e06385 /benchtests/README
parentd7aea0cf06a469dac56aee445ba089d61795fbdc (diff)
downloadglibc-2d304f3c6f5c34b4dd34c7ab0663d93adec14c26.zip
glibc-2d304f3c6f5c34b4dd34c7ab0663d93adec14c26.tar.gz
glibc-2d304f3c6f5c34b4dd34c7ab0663d93adec14c26.tar.bz2
benchtests: Support for cross-building benchmarks
This patch adds full support for cross-building benchmarks. Some benchmarks like those that need locales to be generated cannot be built and are hence skipped for cross builds. Tested by cross building for aarch64 on x86_64 and then running the generated benchmark on aarch64. * benchtests/Makefile (wcsmbs-benchset): Include only for native builds and runs. (LOCALES): Likewise. (bench-build): Build timing-type here instead of the bench target. Generate locale only for native builds. * benchtests/README: Add note for cross-building.
Diffstat (limited to 'benchtests/README')
-rw-r--r--benchtests/README4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchtests/README b/benchtests/README
index 847df87..2c5f381 100644
--- a/benchtests/README
+++ b/benchtests/README
@@ -49,7 +49,9 @@ benchmarks from the build directory as usual:
$ make bench
make sure the copy preserves timestamps by using either rsync or scp -p
-otherwise the above command may try to build the benchmark again.
+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.
Adding a function to benchtests:
===============================