-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXPERIMENT: build jujutsu with buck2 #1997
base: main
Are you sure you want to change the base?
Commits on Oct 11, 2024
-
editor: initialize
.vscode
settings directoryThese are basically always useful in vscode; turn them on. Note that there is an editorconfig plugin for vscode and we do have a `.editorconfig` file but these options aren't set due to an old intellj-rust bug. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5780d43 - Browse repository at this point
Copy the full SHA 5780d43View commit details -
tools: initialize useful dotslash tools
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 654e709 - Browse repository at this point
Copy the full SHA 654e709View commit details -
This lays the basic groundwork to invoke buck2 in a way that barely works and builds nothing. The `jj.bzl` code will be used in some upcoming diffs to add `BUCK` files to the various crates. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0ae3b0 - Browse repository at this point
Copy the full SHA a0ae3b0View commit details -
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d4d28e - Browse repository at this point
Copy the full SHA 0d4d28eView commit details -
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c857ad - Browse repository at this point
Copy the full SHA 0c857adView commit details -
`libgit2` requires `libssh2`, which in turn requires `openssl-sys`. OpenSSL is notoriously hard to vendor for a number of reasons including its build system. In contrast, while BoringSSL does not make compatibility guarantees, it is easy to vendor and is designed to be used with Bazel. The goal is that we can substitute BoringSSL for OpenSSL in `openssl-sys` as the underlying library, and `libssh2` will still work. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9cc44d - Browse repository at this point
Copy the full SHA b9cc44dView commit details -
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35635f3 - Browse repository at this point
Copy the full SHA 35635f3View commit details -
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a901830 - Browse repository at this point
Copy the full SHA a901830View commit details -
buck: add initial reindeer scaffold
Summary: `buck2 build third-party//rust` works fine here. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 447b0b8 - Browse repository at this point
Copy the full SHA 447b0b8View commit details -
buck: add many reindeer fixups
Summary: These will be needed for a lot of upcoming dependencies as the Reindeer dependencies and Cargo dependencies are unified. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58c573a - Browse repository at this point
Copy the full SHA 58c573aView commit details -
buck: unify cargo deps with reindeer deps
This includes a very simple script to do the synchronization between the workspace Cargo file and the Buck2-specific Cargo file, automatically. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbf73de - Browse repository at this point
Copy the full SHA fbf73deView commit details -
cargo: suppress warnings for
cfg(buck_build)
This cfg value isn't understood by Cargo, so it needs to have the warning suppressed by default. We could also add an entry to `build.rs` too, but not every package has one. To be used by upcoming diffs. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for caee1a0 - Browse repository at this point
Copy the full SHA caee1a0View commit details -
tools: add a script for checking workspace dependencies
buck run -v0 tools/scripts:unused_workspace_deps Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47842c9 - Browse repository at this point
Copy the full SHA 47842c9View commit details -
This adds a new step to the `synchronize.py` script that synchronizes dependencies between `Cargo.toml` and `BUCK` files. In this model, Cargo remains the source of truth. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a38f0b - Browse repository at this point
Copy the full SHA 3a38f0bView commit details -
This is needed to emit the `.rs` files into the right build directory in a follow up diff to add `BUCK` files. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6974f05 - Browse repository at this point
Copy the full SHA 6974f05View commit details -
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b65fe4 - Browse repository at this point
Copy the full SHA 4b65fe4View commit details -
The `grammar` macro from `pest_derive` doesn't actually interpret the given file as relative in our case, so we have to give it the fully qualified relative path which exists in the `buck-out/` dir. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11e05e1 - Browse repository at this point
Copy the full SHA 11e05e1View commit details -
The `grammar` macro from `pest_derive` doesn't actually interpret the given file as relative in our case, so we have to give it the fully qualified relative path which exists in the `buck-out/` dir. Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f76f729 - Browse repository at this point
Copy the full SHA f76f729View commit details -
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a42d45d - Browse repository at this point
Copy the full SHA a42d45dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c8b8d - Browse repository at this point
Copy the full SHA c2c8b8dView commit details -
Signed-off-by: Austin Seipp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d292ca - Browse repository at this point
Copy the full SHA 2d292caView commit details