summary refs log tree commit diff
path: root/pkgs/servers/nosql
diff options
context:
space:
mode:
authorJohn Soo <john.soo@arista.com>2022-10-26 17:25:23 -0700
committerJohn Soo <john.soo@arista.com>2022-10-30 10:22:16 -0700
commitb671f4f09f32918ee830e0e4a721bf19fc1c9db7 (patch)
tree7dc60a462bbe5b9a709dd0fb39c69010ef52e977 /pkgs/servers/nosql
parent704d2dccb95cb63d8f36f7a97b4e7fd975762691 (diff)
downloadnixpkgs-b671f4f09f32918ee830e0e4a721bf19fc1c9db7.tar
nixpkgs-b671f4f09f32918ee830e0e4a721bf19fc1c9db7.tar.gz
nixpkgs-b671f4f09f32918ee830e0e4a721bf19fc1c9db7.tar.bz2
nixpkgs-b671f4f09f32918ee830e0e4a721bf19fc1c9db7.tar.lz
nixpkgs-b671f4f09f32918ee830e0e4a721bf19fc1c9db7.tar.xz
nixpkgs-b671f4f09f32918ee830e0e4a721bf19fc1c9db7.tar.zst
nixpkgs-b671f4f09f32918ee830e0e4a721bf19fc1c9db7.zip
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.
Diffstat (limited to 'pkgs/servers/nosql')
-rw-r--r--pkgs/servers/nosql/arangodb/default.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/pkgs/servers/nosql/arangodb/default.nix b/pkgs/servers/nosql/arangodb/default.nix
index e4b67f51fe5..bd0d56eff97 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";