Use project build folder for tempfile workaround with command maxlen

This commit is contained in:
Ivan Kravets
2021-01-27 18:47:54 +02:00
parent e2906e3be5
commit 7810946484
2 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,7 @@ __core_packages__ = {
"contrib-piohome": "~3.3.3",
"contrib-pysite": "~2.%d%d.0" % (sys.version_info.major, sys.version_info.minor),
"tool-unity": "~1.20500.0",
"tool-scons": "~2.20501.7" if sys.version_info.major == 2 else "~4.40100.0",
"tool-scons": "~2.20501.7" if sys.version_info.major == 2 else "~4.40100.1",
"tool-cppcheck": "~1.230.0",
"tool-clangtidy": "~1.100000.0",
"tool-pvs-studio": "~7.11.0",

View File

@ -67,6 +67,8 @@ def generate(env):
_long_sources_hook=long_sources_hook,
TEMPFILE=TempFileMunge,
MAXLINELENGTH=MAX_LINE_LENGTH,
TEMPFILESUFFIX=".tmp",
TEMPFILEDIR="$BUILD_DIR",
)
for name in ("LINKCOM", "ASCOM", "ASPPCOM", "CCCOM", "CXXCOM"):