Merge pull request #104917 from SuperSandro2000/mdds-fix-darwin

mdds: fix compilation on darwin
This commit is contained in:
Mario Rodas
2020-11-25 19:10:14 -05:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, boost }:
{ stdenv, fetchurl, boost, llvmPackages }:
stdenv.mkDerivation rec {
pname = "mdds";
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
'';
buildInputs = stdenv.lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
checkInputs = [ boost ];
meta = with stdenv.lib; {
@@ -21,7 +23,6 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.com/mdds/mdds";
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = platforms.all;
broken = stdenv.isDarwin;
license = licenses.mit;
};
}