Skip to content

Conversation

@benbierens
Copy link

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.

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