Skip to content

Commit

Permalink
Update build_marker only if specific cmake-target is not requested (#…
Browse files Browse the repository at this point in the history
…3788)

Summary: Pull Request resolved: facebookincubator/velox#3788

Reviewed By: chadaustin

Differential Revision: D42637430

fbshipit-source-id: 6997a537a0f924b068551c244463082b3e105be6
  • Loading branch information
somasun authored and facebook-github-bot committed Jan 25, 2023
1 parent 1097c97 commit 9939103
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/fbcode_builder/getdeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,10 @@ def run_project_cmd(self, args, loader, manifest):
)
builder.build(install_dirs, reconfigure=reconfigure)

with open(built_marker, "w") as f:
f.write(project_hash)
# Update built_marker only if user hasn't built a specific target
if m == manifest and args.cmake_target == "install":
with open(built_marker, "w") as f:
f.write(project_hash)

# Only populate the cache from continuous build runs
if args.schedule_type == "continuous":
Expand Down

0 comments on commit 9939103

Please sign in to comment.