grep/profile.sh
Andreas Schwab cc0349ac7c Accepting request 912392 from home:Andreas_Schwab:Factory
- Update to grep 3.7
  * Preprocessing N patterns would take at least O(N^2) time when too many
    patterns hashed to too few buckets
- werror-return-type.patch, gnulib-c-stack.patch: Removed
- Skip stack overflow tests in qemu build

OBS-URL: https://build.opensuse.org/request/show/912392
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=114
2021-08-16 12:20:25 +00:00

15 lines
491 B
Bash

#!/bin/sh
# profiling script for profile-guided-optimizations (PGO)
# must be fully deterministic in what it does for reproducible builds
# should cover most code for good PGO optimization benefit
# See https://github.com/bmwiedemann/theunreproduciblepackage/tree/master/pgo
# for background information on PGO reproducibility
grep=src/grep
t=COPYING
exec > /dev/null
for param in "" -v -i -h -H -l -L -q -n -Z -E -F -P -e -w -c -o; do
$grep $param "GNU" $t
$grep $param "G.*U" $t
done