arangodb: remove unused cmake flags
USE_OPTIMIZE_FOR_ARCHITECTURE was removed without commit in a prior
commit. This is because it was removed upstream:
cc860c333c
This is unfortunate - now /proc/cpuinfo is read unconditionally for
feature detection.
Some other means of feature detection will have to be found.
This commit is contained in:
parent
704d2dccb9
commit
b671f4f09f
1 changed files with 1 additions and 8 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue