Merge pull request #221543 from wegank/volk-darwin
volk: apply cmake flags from homebrew
This commit is contained in:
commit
6c57c5de32
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
cmakeFlags = lib.optionals (!enableModTool) [
|
||||
"-DENABLE_MODTOOL=OFF"
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
"-DVOLK_CPU_FEATURES=OFF"
|
||||
# offset 17912 in1: -0.0366274 in2: -0.0366173 tolerance was: 1e-05
|
||||
# volk_32f_log2_32f: fail on arch neon
|
||||
"-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;qa_volk_32f_log2_32f"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (!stdenv.isDarwin) ''
|
||||
|
|
Loading…
Reference in a new issue