Skip to content

Commit

Permalink
fix(nix): Disable ASM & ADX when building in Nix (AztecProtocol/barre…
Browse files Browse the repository at this point in the history
…tenberg#327)

* fix(nix): Disable ASM & ADX when building in Nix

* Empty-Commit

---------

Co-authored-by: kevaundray <kevtheappdev@gmail.com>
  • Loading branch information
phated and kevaundray authored Apr 6, 2023
1 parent 8abf143 commit bfe511c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions circuits/cpp/barretenberg/barretenberg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ buildEnv.mkDerivation
cmakeFlags = [
"-DTESTING=OFF"
"-DBENCHMARKS=OFF"
"-DDISABLE_ASM=ON"
"-DDISABLE_ADX=ON"
"-DCMAKE_TOOLCHAIN_FILE=${toolchain_file}"
"-DCMAKE_BUILD_TYPE=RelWithAssert"
];
Expand Down

0 comments on commit bfe511c

Please sign in to comment.