Skip to content

fix jitterentropy build issue - #10

Merged
yuvalif merged 1 commit into
lancedb:mainfrom
yuvalif:fix-jitterentropy-build
Feb 4, 2026
Merged

yuvalif merged 1 commit into
lancedb:mainfrom
yuvalif:fix-jitterentropy-build

Conversation

@yuvalif

@yuvalif yuvalif commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

also chaneg ci to use optimization so sucn issues
would be caught in the future.

fixes: #9

also chaneg ci to use optimization so sucn issues
would be caught in the future.

fixes: lancedb#9

Signed-off-by: Yuval Lifshitz <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the aws-lc-sys/jitterentropy compilation failure that occurs under optimized builds, and adjusts CI to exercise an optimized build configuration.

Changes:

  • Force aws-lc-sys to use its CMake-based build path via repo-wide Cargo environment configuration.
  • Configure CI’s CMake invocation to explicitly use a Release build type (optimized build).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/ci.yml Explicitly sets CMAKE_BUILD_TYPE=Release during CI configuration to run optimized builds.
.cargo/config.toml Sets AWS_LC_SYS_CMAKE_BUILDER=1 for Cargo builds to avoid the jitterentropy optimization build failure.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .cargo/config.toml Resolved
@yuvalif
yuvalif merged commit 1397ad8 into lancedb:main Feb 4, 2026
8 checks passed
yuvalif added a commit to yuvalif/lancedb-c that referenced this pull request Jun 8, 2026
this is to allow for deep call stacks that happening
when the query planner is needed.
example of deep call (63 frames) stack backtrace in upsert:

C++                  --- frames lancedb#63-lancedb#61
tokio                --- frames lancedb#60-lancedb#50
lancedb merge logic  --- frames lancedb#49-lancedb#45
lance execution      --- frames lancedb#44-lancedb#28
df physical planning --- frames lancedb#27-lancedb#18
lance scanner        --- frames lancedb#17-lancedb#10
SessionState clone   --- frames lancedb#9-#0

backtrace:
https://gist.github.com/yuvalif/7b3c78bd56765a03163f17377c20544b

Signed-off-by: Yuval Lifshitz <[email protected]>
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.

compilation issue for jitterentropy dependency

2 participants