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.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user