Update buck to the latest version This version includes a lot of new features and improvements. The highlights are: * Switched to top-down-building, which should generally make builds faster. The old behavior can be bypassed by passing --deep on the command line: [1] * New query command was added (inspired by Bazel): [2] * Performance improvement in file globbing Extend tools/eclipse.py to pass the --deep option to ask Buck to execute bottom-up build when generating the Eclipse project. This is needed otherwise after using the buck clean command only the top rule artifact would be fetched from the cache and the buck-out/gen/lib folder would remain empty. To allow two genrules, located in the same BUCK file, to have the same output artifact name, genrule output is namespaced with genrule name: [3]. That why switching to new Buck version requires buck clean. Otherwise the build would fail: [4]. [1] https://github.com/facebook/buck/commit/217cec33bcd0b0eb7ebd0c444938495379267d60 [2] https://buckbuild.com/command/query.html [3] https://github.com/facebook/buck/commit/c92ef212b53fff08a8452649b4d4faadc6b89b11 [4] http://paste.openstack.org/show/468992 Change-Id: If336ea86970dd95e3af13b92e7665ecaef369105
diff --git a/buckversion b/buckversion index 46408a5..6686020 100644 --- a/buckversion +++ b/buckversion
@@ -1 +1 @@ -8204fddf60b25a3c2090f3ef0742fca5d466d562 +d1be554f51fb9b2f090a85fcdbcef3b4dbbef8d7
diff --git a/tools/eclipse.py b/tools/eclipse.py index f6c8d68..3195b2a 100755 --- a/tools/eclipse.py +++ b/tools/eclipse.py
@@ -148,7 +148,7 @@ try: targets = ['//bucklets/tools:buck.properties'] + MAIN - check_call(['buck', 'build'] + targets) + check_call(['buck', 'build', '--deep'] + targets) except CalledProcessError as err: exit(1) except KeyboardInterrupt: