Skip to content

Commit d0c9023

Browse files
committed
Merge pull request #96712 from Riteo/slightly-sconserned
SCons: Make ninja output file consistent
2 parents 20115dc + 0d40efb commit d0c9023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SConstruct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ if env["ninja"]:
10531053
SetOption("experimental", "ninja")
10541054
env["NINJA_FILE_NAME"] = env["ninja_file"]
10551055
env["NINJA_DISABLE_AUTO_RUN"] = not env["ninja_auto_run"]
1056-
env.Tool("ninja")
1056+
env.Tool("ninja", "build.ninja")
10571057

10581058
# Threads
10591059
if env["threads"]:
@@ -1116,7 +1116,7 @@ atexit.register(print_elapsed_time)
11161116

11171117

11181118
def purge_flaky_files():
1119-
paths_to_keep = ["ninja.build"]
1119+
paths_to_keep = ["build.ninja"]
11201120
for build_failure in GetBuildFailures():
11211121
path = build_failure.node.path
11221122
if os.path.isfile(path) and path not in paths_to_keep:

0 commit comments

Comments
 (0)