File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -276,13 +276,11 @@ def run(
276276 Always clobber the build artifacts, i.e. disable incremental builds.
277277 """
278278
279-
280279 scriptpath = os .path .abspath (scriptpath )
281280 llvmsrcroot = os .path .abspath (llvmsrcroot )
282281 stem = pathlib .Path (scriptpath ).stem
283282 workdir_default = f"{ stem } .workdir"
284283
285-
286284 jobs_default = None
287285 if jobs_env := os .environ .get ("BUILDBOT_JOBS" ):
288286 jobs_default = int (jobs_env )
@@ -333,7 +331,7 @@ def run(
333331 )
334332 args = parser .parse_args ()
335333
336- workdir = os .path .abspath ( args .workdir )
334+ workdir = os .path .abspath (args .workdir )
337335 clean = args .clean
338336 clobber = args .clobber
339337 cachefile = os .path .join (llvmsrcroot , args .cachefile )
@@ -347,7 +345,6 @@ def run(
347345 ):
348346 clobber = True
349347
350-
351348 # Safety check
352349 parentdir = os .path .dirname (scriptpath )
353350 while True :
@@ -360,7 +357,6 @@ def run(
360357 break
361358 parentdir = newparentdir
362359
363-
364360 w = Worker (
365361 args ,
366362 clean = clean ,
@@ -371,8 +367,6 @@ def run(
371367 llvmsrcroot = llvmsrcroot ,
372368 )
373369
374-
375-
376370 if clean :
377371 # Ensure that the cwd is not the directory we are going to delete. This would not work under Windows. We will chdir to workdir later anyway.
378372 os .chdir ("/" )
You can’t perform that action at this time.
0 commit comments