Skip to content

Portable builds#26

Closed
benbierens wants to merge 1 commit into
catid:masterfrom
durability-labs:portable-builds
Closed

Portable builds#26
benbierens wants to merge 1 commit into
catid:masterfrom
durability-labs:portable-builds

Conversation

@benbierens

Copy link
Copy Markdown

By default leopard builds with native CPU architecture optimization. If you building leopard as part of a CI pipeline, the CPU of the build systems determine the instruction sets. The resulting binaries can contain illegal instructions for other systems, resulting in SIGILL: Illegal operation.

This PR adds a cmake option LEOPARD_PORTABLE_BUILD_TARGET that allows users to override the march flag if needed.

@catid

catid commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Thank you working on this today.

@catid catid closed this Jul 17, 2026
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.

2 participants