simdjson: fix build on powerpc64
This commit is contained in:
parent
3f3eb370c1
commit
ca71219e61
@ -15,7 +15,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSIMDJSON_DEVELOPER_MODE=OFF"
|
||||
] ++ lib.optional stdenv.hostPlatform.isStatic "-DBUILD_SHARED_LIBS=OFF";
|
||||
] ++ lib.optionals stdenv.hostPlatform.isStatic [
|
||||
"-DBUILD_SHARED_LIBS=OFF"
|
||||
] ++ lib.optionals (with stdenv.hostPlatform; isPower && isBigEndian) [
|
||||
# Assume required CPU features are available, since otherwise we
|
||||
# just get a failed build.
|
||||
"-DCMAKE_CXX_FLAGS=-mpower8-vector"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://simdjson.org/";
|
||||
|
Loading…
Reference in New Issue
Block a user