Skip to content

Commit

Permalink
Add a new release-with-debug-info profile
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed Nov 22, 2023
1 parent bd9adcc commit c9b2b55
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
3 changes: 2 additions & 1 deletion interactive_engine/executor/assembly/groot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ column_filter_push_down = []
# TODO(siyuan): re-enable debug assertions by addressing the reports for misaligned pointer dereferences https://github.com/rust-lang/rust/pull/98112/
debug-assertions = false

[profile.release]
[profile.release-with-debug-info]
inherits = "release"
debug = true
3 changes: 1 addition & 2 deletions interactive_engine/executor/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ if [ "$MODE" = "debug" ]; then
elif [ "$MODE" = "release" ]; then
cargo build --release $append
else
echo "Invalid mode, choose from debug or release."
exit 1
cargo build --profile $MODE $append
fi

if [ "$TARGET" = "groot" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ edition = "2018"
pegasus_graph = { path = "../graph" }
pegasus = { path = "../pegasus" }
pegasus_common = { path = "../common" }
tonic = { version = "0.8", features = ["default", "compression"] }
tonic = { version = "0.10", features = ["default", "gzip"] }
prost = "0.11"
tokio = { version = "1.24", features = ["macros", "sync", "rt-multi-thread"] }
structopt = "0.3"
futures = "0.3"
log = "0.4"

[build-dependencies]
tonic-build = { version = "0.8", features = ["default", "compression"] }
tonic-build = { version = "0.10", features = ["default"] }

[features]
default = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
[dependencies]
pegasus_server = { path = "../../../server" }
pegasus = { path = "../../../pegasus" }
tonic = "0.8"
tonic = "0.10"
prost = "0.11"
tokio = { version = "1.24", features = ["macros", "sync", "rt-multi-thread"] }
tokio-stream = { version = "0.1.11", features = ["net"] }
4 changes: 2 additions & 2 deletions interactive_engine/executor/engine/pegasus/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pegasus = { path = "../pegasus" }
log = "0.4"
crossbeam-utils = "0.8.14"
#crossbeam-channel = "0.5.6"
tonic = "0.8"
tonic = "0.10"
prost = "0.11"
tokio = { version = "1.24", features = ["macros", "sync", "rt-multi-thread"] }
tokio-stream = "0.1.11"
Expand All @@ -28,7 +28,7 @@ libloading = "0.7"
structopt = "0.3"

[build-dependencies]
tonic-build = "0.8"
tonic-build = "0.10"

[features]
default = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2018"
pegasus_server = { path = "../../../../engine/pegasus/server" }
ir_common = { path = "../../../common" }
pegasus = { path = "../../../../engine/pegasus/pegasus" }
tonic = "0.6"
tonic = "0.10"
prost = "0.11"
tokio = { version = "1.0", features = ["macros", "sync", "rt-multi-thread"] }
tokio-stream = { version = "0.1.3", features = ["net"] }
2 changes: 1 addition & 1 deletion interactive_engine/executor/ir/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dyn_type = {path = "../../common/dyn_type"}
pegasus_common = { path = "../../engine/pegasus/common" }
prost = "0.11"
serde = { version = "1.0", features = ["derive"] }
tonic = "0.8"
tonic = "0.10"
chrono = "0.4"

[build-dependencies]
Expand Down

0 comments on commit c9b2b55

Please sign in to comment.