Skip to content

Provide a Nix shell that lets developers build this project locally on supported CPUs. - #17

Open
SwissBankingJew wants to merge 2 commits into
octra-labs:mainfrom
SwissBankingJew:main
Open

Provide a Nix shell that lets developers build this project locally on supported CPUs.#17
SwissBankingJew wants to merge 2 commits into
octra-labs:mainfrom
SwissBankingJew:main

Conversation

@SwissBankingJew

Copy link
Copy Markdown

This project requires hardware AES support. The upstream Makefile uses
-march=native to enable CPU-specific crypto instructions.

Nix normally strips native CPU flags for reproducibility, so the shell sets
NIX_ENFORCE_NO_NATIVE=0 to allow the existing Makefile build to proceed.

This shell is intended as a developer build environment for supported hardware,
not as a fully reproducible Nix package.

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