Skip to content

Commit 9a11b7a

Browse files
committed
---
yaml --- r: 10718 b: refs/heads/snap-stage3 c: c904927 h: refs/heads/master v: v3
1 parent 0992310 commit 9a11b7a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: c2751c5640c9400c58de494e0ff8a49e0c1de5d2
4+
refs/heads/snap-stage3: c904927f73d0bf1e0775aadfdc9dc6ae65b869c4
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/configure

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,13 @@ fi
311311
step_msg "looking for build programs"
312312

313313
probe_need CFG_PERL perl
314-
probe_need CFG_PYTHON python python2.6 python2 python3
315314
probe_need CFG_CURL curl
315+
probe_need CFG_PYTHON python2.7 python2.6 python2 python
316+
317+
python_version=$($CFG_PYTHON -V 2>&1)
318+
if [ $(echo $python_version | grep -c '^Python 2\.[4567]') -ne 1 ]; then
319+
err "Found $python_version, but LLVM requires Python 2.4-2.7"
320+
fi
316321

317322
# If we have no git directory then we are probably a tarball distribution
318323
# and shouldn't attempt to load submodules

0 commit comments

Comments
 (0)