From b671f4f09f32918ee830e0e4a721bf19fc1c9db7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 26 Oct 2022 17:25:23 -0700 Subject: [PATCH] arangodb: remove unused cmake flags USE_OPTIMIZE_FOR_ARCHITECTURE was removed without commit in a prior commit. This is because it was removed upstream: https://github.com/arangodb/arangodb/commit/cc860c333c7f0c1aed9a2179e3e8b926d92b6df4 This is unfortunate - now /proc/cpuinfo is read unconditionally for feature detection. Some other means of feature detection will have to be found. --- pkgs/servers/nosql/arangodb/default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/servers/nosql/arangodb/default.nix b/pkgs/servers/nosql/arangodb/default.nix index e4b67f51fe54..bd0d56eff979 100644 --- a/pkgs/servers/nosql/arangodb/default.nix +++ b/pkgs/servers/nosql/arangodb/default.nix @@ -41,14 +41,7 @@ stdenv.mkDerivation rec { substituteInPlace js/server/server.js --replace "require('@arangodb').checkAvailableVersions();" "" ''; - cmakeFlags = [ - # disable "maintainer mode" - "-DUSE_MAINTAINER_MODE=OFF" - - # avoid using builder's /proc/cpuinfo - "-DHAVE_SSE42=${if stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}" - "-DASM_OPTIMIZATIONS=${if stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}" - ]; + cmakeFlags = [ "-DUSE_MAINTAINER_MODE=OFF" ]; meta = with lib; { homepage = "https://www.arangodb.com";