Skip to content
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.

Commit

Permalink
[scons] Change Python interpreter of system builder to Python 3
Browse files Browse the repository at this point in the history
This breaks the build on systems without Python 3 or the required
Python 3 packages.
  • Loading branch information
mhthies committed Dec 21, 2017
1 parent 182c135 commit d3f969b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scons/site_tools/system_design.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def generate(env, **kw):
env['BUILDERS']['SystemCppPackets'] = \
SCons.Script.Builder(
action = SCons.Action.Action(
'python2 "${XPCC_SYSTEM_BUILDER}/cpp_packets.py" ' \
'python3 "${XPCC_SYSTEM_BUILDER}/cpp_packets.py" ' \
'--source_path ${TARGETS[0].dir} ' \
'--header_path ${TARGETS[1].dir} ' \
'--dtdpath "${dtdPath}" ' \
Expand All @@ -156,7 +156,7 @@ def generate(env, **kw):
env['BUILDERS']['SystemCppIdentifier'] = \
SCons.Script.Builder(
action = SCons.Action.Action(
'python2 "${XPCC_SYSTEM_BUILDER}/cpp_identifier.py" ' \
'python3 "${XPCC_SYSTEM_BUILDER}/cpp_identifier.py" ' \
'--outpath ${TARGET.dir} ' \
'--dtdpath "${dtdPath}" ' \
'--namespace "${namespace}" ' \
Expand All @@ -171,7 +171,7 @@ def generate(env, **kw):
env['BUILDERS']['SystemCppPostman'] = \
SCons.Script.Builder(
action = SCons.Action.Action(
'python2 "${XPCC_SYSTEM_BUILDER}/cpp_postman.py" ' \
'python3 "${XPCC_SYSTEM_BUILDER}/cpp_postman.py" ' \
'--container "${container}" ' \
'--outpath ${TARGET.dir} ' \
'--dtdpath "${dtdPath}" ' \
Expand All @@ -187,7 +187,7 @@ def generate(env, **kw):
env['BUILDERS']['SystemCppCommunication'] = \
SCons.Script.Builder(
action = SCons.Action.Action(
'python2 "${XPCC_SYSTEM_BUILDER}/cpp_communication.py" ' \
'python3 "${XPCC_SYSTEM_BUILDER}/cpp_communication.py" ' \
'--outpath ${TARGET.dir} ' \
'--dtdpath "${dtdPath}" ' \
'--namespace "${namespace}" ' \
Expand All @@ -202,7 +202,7 @@ def generate(env, **kw):
env['BUILDERS']['SystemCppXpccTaskCaller'] = \
SCons.Script.Builder(
action = SCons.Action.Action(
'python2 "${XPCC_SYSTEM_BUILDER}/cpp_xpcc_task_caller.py" ' \
'python3 "${XPCC_SYSTEM_BUILDER}/cpp_xpcc_task_caller.py" ' \
'--outpath ${TARGET.dir} ' \
'--dtdpath "${dtdPath}" ' \
'--namespace "${namespace}" ' \
Expand Down

0 comments on commit d3f969b

Please sign in to comment.