Skip to content
Closed
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
19 changes: 19 additions & 0 deletions .github/workflows/rust-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,22 @@ jobs:
mkdir build
cmake --preset=default-with-tests -S . -B build
cmake --build build --target all

- name: Build GPU spatial join (with GPU feature)
run: |
echo "=== Building GPU spatial join package WITH GPU feature ==="
echo "Building Rust GPU spatial join (depends on libgpuspatial)"
echo ""
# Build library only (skip tests - they require CUDA driver)
cargo build --locked --package sedona-spatial-join-gpu --lib --features gpu --verbose

- name: Build entire workspace with GPU features
run: |
echo "=== Building entire SedonaDB workspace WITH GPU features ==="
echo "Verifying GPU packages integrate with rest of codebase"
echo ""
# Build entire workspace with GPU features enabled
# Exclude sedonadb (Python extension, requires maturin)
# Exclude sedona-s2geography (has GCC 11 compatibility issues, unrelated to GPU)
# Build libs only (skip tests - they require CUDA driver)
cargo build --workspace --exclude sedonadb --exclude sedona-s2geography --lib --features gpu --verbose
137 changes: 117 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,22 @@ members = [
"rust/sedona-raster-functions",
"rust/sedona-schema",
"rust/sedona-spatial-join",
"rust/sedona-spatial-join-gpu",
"rust/sedona-testing",
"rust/sedona",
"sedona-cli",
]
resolver = "2"

[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gpu_available)'] }

[patch.crates-io]
# Use main branch of arrow-adbc which supports Arrow 56.x (remove when 0.21.0 is released)
adbc_core = { git = "https://github.com/apache/arrow-adbc.git", package = "adbc_core" }
adbc_ffi = { git = "https://github.com/apache/arrow-adbc.git", package = "adbc_ffi" }


[workspace.package]
version = "0.3.0"
authors = ["Apache Sedona <[email protected]>"]
Expand Down Expand Up @@ -86,7 +96,7 @@ datafusion-common-runtime = { version = "50.2.0", default-features = false }
datafusion-datasource-parquet = { version = "50.2.0" }
datafusion-execution = { version = "50.2.0", default-features = false }
datafusion-expr = { version = "50.2.0" }
datafusion-ffi = { version = "50.2.0" }
datafusion-ffi = { version = "50.2.0" }
datafusion-physical-expr = { version = "50.2.0" }
datafusion-physical-plan = { version = "50.2.0" }
dirs = "6.0.0"
Expand Down Expand Up @@ -123,11 +133,12 @@ rstest = "0.26.1"
serde = { version = "1" }
serde_json = { version = "1" }
serde_with = { version = "1" }
tempfile = { version = "3"}
tempfile = { version = "3" }
thiserror = { version = "2" }
tokio = { version = "1.44" }
url = "2.5.4"


# Workspace path dependencies for internal crates
sedona = { version = "0.3.0", path = "rust/sedona" }
sedona-adbc = { version = "0.3.0", path = "rust/sedona-adbc" }
Expand All @@ -144,6 +155,7 @@ sedona-raster = { version = "0.3.0", path = "rust/sedona-raster" }
sedona-raster-functions = { version = "0.3.0", path = "rust/sedona-raster-functions" }
sedona-schema = { version = "0.3.0", path = "rust/sedona-schema" }
sedona-spatial-join = { version = "0.3.0", path = "rust/sedona-spatial-join" }
sedona-spatial-join-gpu = { version = "0.3.0", path = "rust/sedona-spatial-join-gpu" }
sedona-testing = { version = "0.3.0", path = "rust/sedona-testing" }

# C wrapper crates
Expand Down
Loading
Loading