Merge pull request #208098 from alyssais/simdjson-powerpc

simdjson: fix build on powerpc64

authored by

Jörg Thalheim and committed by
GitHub
f9a194b3 7f41534a

+7 -1
+7 -1
pkgs/development/libraries/simdjson/default.nix
··· 15 15 16 16 cmakeFlags = [ 17 17 "-DSIMDJSON_DEVELOPER_MODE=OFF" 18 - ] ++ lib.optional stdenv.hostPlatform.isStatic "-DBUILD_SHARED_LIBS=OFF"; 18 + ] ++ lib.optionals stdenv.hostPlatform.isStatic [ 19 + "-DBUILD_SHARED_LIBS=OFF" 20 + ] ++ lib.optionals (with stdenv.hostPlatform; isPower && isBigEndian) [ 21 + # Assume required CPU features are available, since otherwise we 22 + # just get a failed build. 23 + "-DCMAKE_CXX_FLAGS=-mpower8-vector" 24 + ]; 19 25 20 26 meta = with lib; { 21 27 homepage = "https://simdjson.org/";