icecc/icecc-profile

8 lines
266 B
Plaintext
Raw Normal View History

if [ -e /usr/libexec/icecc/bin/ ]; then
PATH=/usr/libexec/icecc/bin:$PATH
RPM_BUILD_NCPUS=`/usr/bin/getconf _NPROCESSORS_ONLN`
[ "$RPM_BUILD_NCPUS" ] || RPM_BUILD_NCPUS=1
RPM_BUILD_NCPUS=`expr $RPM_BUILD_NCPUS \* 2 + 1`
export PATH RPM_BUILD_NCPUS
fi