File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: c2751c5640c9400c58de494e0ff8a49e0c1de5d2
4
+ refs/heads/snap-stage3: c904927f73d0bf1e0775aadfdc9dc6ae65b869c4
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 311
311
step_msg " looking for build programs"
312
312
313
313
probe_need CFG_PERL perl
314
- probe_need CFG_PYTHON python python2.6 python2 python3
315
314
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
316
321
317
322
# If we have no git directory then we are probably a tarball distribution
318
323
# and shouldn't attempt to load submodules
You can’t perform that action at this time.
0 commit comments