Revision aba8e906508bfd21692f4546a66e30524e535e6f authored by Tony Kelman on 26 January 2016, 07:17:06 UTC, committed by Tony Kelman on 26 January 2016, 07:20:09 UTC
This reverts commit dfba26bde58b9b9fae66001b136c67391243c394. This is a detail of the out of tree builds which only exist on master. Any backport that relies on this was not resolved correctly for release-0.4.
1 parent 57fc0bc
find_python2
#!/bin/sh
#
# LLVM requires 2.5 <= python2 < 3
#
valid_python() {
$1 -c 'import sys; sys.exit(not (sys.version_info >= (2,5) and sys.version_info < (3,0)))' 2> /dev/null
}
for python in python python2 python2.7 python27 python2.6 python26 python2.5 python25; do
if valid_python $python; then
echo `which $python`
break
fi
done
Computing file changes ...