This commit is contained in:
parent
ad84bc50cd
commit
2e7b2e7af1
14
tcl.spec
14
tcl.spec
@ -91,20 +91,6 @@ eval $MAKE
|
|||||||
# Some of the regressioin tests write to $HOME, so better redirect them
|
# Some of the regressioin tests write to $HOME, so better redirect them
|
||||||
mkdir home
|
mkdir home
|
||||||
export HOME=$PWD/home
|
export HOME=$PWD/home
|
||||||
# Run the testsuite to gather some data for the profile-based
|
|
||||||
# optimisation and let rpmbuild fail on unexpected test failures.
|
|
||||||
cat > known-failures <<EOF
|
|
||||||
httpold-4.12
|
|
||||||
mathop-25.14
|
|
||||||
EOF
|
|
||||||
eval $MAKE test 2>&1 | tee testresults
|
|
||||||
grep FAILED testresults | grep -Fqvf known-failures && exit 1
|
|
||||||
# If we don't do profile based optimisation, we are done at this point.
|
|
||||||
test -z "$PFLAGS" && exit 0
|
|
||||||
# Rebuild and use the profiling results
|
|
||||||
make clean
|
|
||||||
PFLAGS="%cflags_profile_feedback"
|
|
||||||
eval $MAKE
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make -C unix install install-private-headers \
|
make -C unix install install-private-headers \
|
||||||
|
Loading…
Reference in New Issue
Block a user