Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
just py2x needs withcompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Jun 1, 2016
1 parent 709e71c commit 4ee8fe3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions buildmaster/master.cfg
Expand Up @@ -1265,8 +1265,12 @@ def bsquare_make_factory_git(git_url, platform, options):
description="bootstrap"))

if 'prebuildext' in options.lower():
# cmd = [platform.python, "setup.py", "build_ext"]
cmd = platform.withcompiler % "setup.py build_ext"
if platform.name.startswith('py_2'):
# ohwell just py2x needs withcompiler
cmd = platform.withcompiler % "setup.py build_ext"
else:
# py3x finds VC10 on it's own
cmd = [platform.python, "setup.py", "build_ext"]
f.addStep(shell.ShellCommand(
command=cmd,
haltOnFailure=True,
Expand Down

0 comments on commit 4ee8fe3

Please sign in to comment.