Skip to content

build: generate lbug.hpp for source builds - #41

Merged
adsharma merged 1 commit into
mainfrom
fix-source-build-lbug-hpp
Sep 26, 2026
Merged

adsharma merged 1 commit into
mainfrom
fix-source-build-lbug-hpp

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

The partition routing shim (src/lbug_partition_routing.cpp) includes <lbug.hpp>, but build_bundled_cmake() configured CMake with BUILD_SINGLE_FILE_HEADER=OFF, so from-source builds (e.g. deploy-rust with LBUG_RUST_BUILD_FROM_SOURCE=1) failed with 'fatal error: lbug.hpp: No such file or directory'. Generate the amalgamated header for source builds. It lands in /src, which is already on the include path.

@adsharma
adsharma merged commit ca706e5 into main Sep 26, 2026
1 check passed
@adsharma
adsharma deleted the fix-source-build-lbug-hpp branch September 26, 2026 15:56
adsharma added a commit to LadybugDB/ladybug that referenced this pull request Sep 26, 2026
Depends on LadybugDB/ladybug-rust#41. Fixes the deploy-rust
failure (fatal error: lbug.hpp) when building from source.
adsharma added a commit to LadybugDB/ladybug that referenced this pull request Sep 26, 2026
Depends on LadybugDB/ladybug-rust#41. Fixes the deploy-rust
failure (fatal error: lbug.hpp) when building from source.
adsharma added a commit to LadybugDB/ladybug that referenced this pull request Sep 26, 2026
Depends on LadybugDB/ladybug-rust#41. Fixes the deploy-rust
failure (fatal error: lbug.hpp) when building from source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant