Skip to content

Commit

Permalink
xad: set XAD_SIMD_OPTION only on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
foolnotion committed Jan 22, 2024
1 parent acd63d8 commit edb20ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/xad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
"-DXAD_ENABLE_TESTS=OFF"
"-DXAD_POSITION_INDEPENDENT_CODE=ON"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DXAD_SIMD_OPTION=AVX2"
"${if stdenv.targetPlatform.isx86_64 then "-DXAD_SIMD_OPTION=AVX2" else ""}"
];

meta = with lib; {
Expand Down

0 comments on commit edb20ac

Please sign in to comment.