Skip to content

build: Remove LDFLAGS assignment - #469

Open
MarkMankins wants to merge 1 commit into
dgraph-io:mainfrom
MarkMankins:jemalloc_no_sudo
Open

MarkMankins wants to merge 1 commit into
dgraph-io:mainfrom
MarkMankins:jemalloc_no_sudo

Conversation

@MarkMankins

@MarkMankins MarkMankins commented Oct 1, 2025 •

Copy link
Copy Markdown

Description

Setting LDFLAGS here forces users building software that depends on ristretto to have jemalloc installed in /usr/local/lib. Requiring the builder to set LDFLAGS allows for more flexible configurations where jemalloc might be installed elsewhere.

This change also requires updates to the dgraph and badger repos. See PRs in those repos for details.

dgraph-io/badger#2230
dgraph-io/dgraph#9510

Checklist

  • Code compiles correctly and linting passes locally
  • For all code changes, an entry added to the CHANGELOG.md file describing and linking to
    this PR
  • Tests added for new functionality, or regression tests for bug fixes added as applicable

Setting LDFLAGS here forces users building software that depends on
ristretto to have jemalloc installed in /usr/local/lib.  Requiring the
builder to set LDFLAGS allows for more flexible configurations where
jemalloc might be installed elsewhere.
@MarkMankins
MarkMankins marked this pull request as ready for review October 1, 2025 11:49
@MarkMankins
MarkMankins requested a review from a team October 1, 2025 11:49
@github-actions

Copy link
Copy Markdown

This PR has had no activity for 60 days and has been marked stale. Comment to keep it active.

@github-actions github-actions Bot added the Stale label Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant