build.py: Remove unused 'temp' directory

Change-Id: I7b6a45aa2ac1d0851207512e2659f46f1940f628
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Eike Ziller
2020-02-19 15:14:38 +01:00
parent 095311c072
commit a8cca1b89a

View File

@@ -87,7 +87,6 @@ def build_qtcreator(args, paths):
if not os.path.exists(paths.build): if not os.path.exists(paths.build):
os.makedirs(paths.build) os.makedirs(paths.build)
prefix_paths = [paths.qt] prefix_paths = [paths.qt]
# TODO should be passed via argument, but this is for compatibility with old script
if args.llvm_path: if args.llvm_path:
prefix_paths += [args.llvm_path] prefix_paths += [args.llvm_path]
if args.elfutils_path: if args.elfutils_path:
@@ -218,8 +217,8 @@ def package_qtcreator(args, paths):
def get_paths(args): def get_paths(args):
Paths = collections.namedtuple('Paths', Paths = collections.namedtuple('Paths',
['qt', 'src', 'build', ['qt', 'src', 'build',
'install', 'dev_install', 'wininterrupt_install', 'qtcreatorcdbext_install', 'install', 'dev_install', 'wininterrupt_install',
'temp', 'result']) 'qtcreatorcdbext_install', 'result'])
build_path = os.path.abspath(args.build) build_path = os.path.abspath(args.build)
install_path = os.path.join(build_path, 'install') install_path = os.path.join(build_path, 'install')
return Paths(qt=os.path.abspath(args.qt_path), return Paths(qt=os.path.abspath(args.qt_path),
@@ -229,7 +228,6 @@ def get_paths(args):
dev_install=os.path.join(install_path, 'qt-creator-dev'), dev_install=os.path.join(install_path, 'qt-creator-dev'),
wininterrupt_install=os.path.join(install_path, 'wininterrupt'), wininterrupt_install=os.path.join(install_path, 'wininterrupt'),
qtcreatorcdbext_install=os.path.join(install_path, 'qtcreatorcdbext'), qtcreatorcdbext_install=os.path.join(install_path, 'qtcreatorcdbext'),
temp=os.path.join(build_path, 'temp'),
result=build_path) result=build_path)
def main(): def main():