#
10ee003d |
| 12-May-2025 |
Bo Chen <bchen@crusoe.ai> |
misc: Fix beta clippy issues
Fixing the following clippy issue using `cargo clippy --fix`:
error: variables can be used directly in the `format!` string --> build.rs:25:27 | 25 | versi
misc: Fix beta clippy issues
Fixing the following clippy issue using `cargo clippy --fix`:
error: variables can be used directly in the `format!` string --> build.rs:25:27 | 25 | version.push_str(&format!("-{}", extra_version)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
Signed-off-by: Bo Chen <bchen@crusoe.ai>
show more ...
|
#
9f9cfeb5 |
| 04-Feb-2025 |
Wei Liu <liuwe@microsoft.com> |
build: Provide CH_EXTRA_VERSION
Use this to add any extra versioning information to the binary. It is useful when packaging Cloud Hypervisor.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
59012ccc |
| 07-Apr-2023 |
Omer Faruk Bayram <omer.faruk@sartura.hr> |
build: rename `BUILT_VERSION` to `BUILD_VERSION`
Signed-off-by: Omer Faruk Bayram <omer.faruk@sartura.hr>
|
#
9e6301be |
| 06-Jan-2023 |
Wei Liu <liuwe@microsoft.com> |
Reland: build: drop clap from dev-dependencies
Some crates don't need it at all.
Some crates are using it for a simple functionality which can be replaced easily.
Signed-off-by: Wei Liu <liuwe@mic
Reland: build: drop clap from dev-dependencies
Some crates don't need it at all.
Some crates are using it for a simple functionality which can be replaced easily.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This was causing issues with the release build process but we now have a fix to clean residual build assets.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
375e094c |
| 13-Jan-2023 |
Rob Bradford <robert.bradford@intel.com> |
Revert "build: drop clap from dev-dependencies"
This reverts commit 998fb48ff276821f3b3ced6d07d492130eef7fec.
This is breaking the release build process (cross build for aarch64 musl) so temporaril
Revert "build: drop clap from dev-dependencies"
This reverts commit 998fb48ff276821f3b3ced6d07d492130eef7fec.
This is breaking the release build process (cross build for aarch64 musl) so temporarily reverting until we can identify the cause to allow the release proceeed.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
998fb48f |
| 06-Jan-2023 |
Wei Liu <liuwe@microsoft.com> |
build: drop clap from dev-dependencies
Some crates don't need it at all.
Some crates are using it for a simple functionality which can be replaced easily.
Signed-off-by: Wei Liu <liuwe@microsoft.c
build: drop clap from dev-dependencies
Some crates don't need it at all.
Some crates are using it for a simple functionality which can be replaced easily.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
show more ...
|
#
5e527294 |
| 14-Dec-2022 |
Rob Bradford <robert.bradford@intel.com> |
misc: Automatically fix cargo clippy issues added in 1.65 (stable)
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
f32487f8 |
| 20-Sep-2022 |
Rob Bradford <robert.bradford@intel.com> |
misc: Automatic beta clippy fixes
e.g. cargo clippy --all --tests --all-targets --fix --features=..
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
cd1c2ed3 |
| 29-Oct-2020 |
Bo Chen <chen.bo@intel.com> |
build: Add the 'v' prefix when using the crate version
Signed-off-by: Bo Chen <chen.bo@intel.com>
|
#
559d1840 |
| 04-Sep-2020 |
Bo Chen <chen.bo@intel.com> |
build: Use the crate version when the 'git describe' command failed
In our build-script (build.rs), we won't set the environment variable 'BUILD_VERSION' when the 'git describe' command failed (e.g.
build: Use the crate version when the 'git describe' command failed
In our build-script (build.rs), we won't set the environment variable 'BUILD_VERSION' when the 'git describe' command failed (e.g. when the current source tree does not contain git information). This patch added a fall back path where the default value of 'BUILD_VERSION' is based on the 'cloud-hypervisor' crate version.
Fixes: #1669
Signed-off-by: Bo Chen <chen.bo@intel.com>
show more ...
|
#
ebd83699 |
| 13-Feb-2020 |
Bo Chen <chen.bo@intel.com> |
main: Display git commit hash with the '--version' option
Add a build-script to propagate the git commit hash to other crates at compile time through environment variables, and display the hash alon
main: Display git commit hash with the '--version' option
Add a build-script to propagate the git commit hash to other crates at compile time through environment variables, and display the hash along with the '--version' option.
Fixes #729
Signed-off-by: Bo Chen <chen.bo@intel.com>
show more ...
|