Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ license = "Apache-2.0"
rust-version = "1.82"
build = "build.rs"

[lib]
name = "distributed_datafusion"
path = "src/lib.rs"

[[bin]]
name = "distributed-datafusion"
path = "src/main.rs"
path = "src/bin/distributed-datafusion.rs"

[dependencies]
anyhow = "1"
Expand Down
23 changes: 0 additions & 23 deletions build.sh

This file was deleted.

8 changes: 2 additions & 6 deletions scripts/launch_tpch_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,10 @@ if [ "$NUM_WORKERS" -lt 1 ]; then
fi

# Check if the binary exists, build if not
if [ ! -f "./target/release/distributed-datafusion" ]; then
if [ ! -f "./target/debug/distributed-datafusion" ]; then
echo "Binary not found, building release version..."
echo "This may take a few minutes on first run..."
if [ -f "./build.sh" ]; then
./build.sh #--release
else
cargo build #--release
fi
cargo build #--release

# Verify the build was successful
#if [ ! -f "./target/release/distributed-datafusion" ]; then
Expand Down
File renamed without changes.
Loading