CLooG 0.16.3, along with simplifications.
svn path=/nixpkgs/trunk/; revision=30635
This commit is contained in:
parent
a90a55309f
commit
80067c9a0f
@ -1,31 +1,23 @@
|
|||||||
{ fetchurl, stdenv, gmp, isl, static ? false }:
|
{ fetchurl, stdenv, gmp, isl, static ? false }:
|
||||||
|
|
||||||
let
|
assert static -> isl.dontDisableStatic;
|
||||||
staticFlags =
|
|
||||||
assert static -> isl.dontDisableStatic == true;
|
|
||||||
if static then "--enable-static --disable-shared" else "";
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cloog-0.16.2";
|
name = "cloog-0.16.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.bastoul.net/cloog/pages/download/count.php3?url=./${name}.tar.gz";
|
url = "http://www.bastoul.net/cloog/pages/download/count.php3?url=./${name}.tar.gz";
|
||||||
sha256 = "1w9n9lsq18k65fywwbbvhkgl917053w1kvqw0xhlwcma0v59m6mx";
|
sha256 = "0lzbsszfzsr0jfwkccfbsvx913d2yc45dqwa472plmxkhbwykmc9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gmp ];
|
buildInputs = [ gmp ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ isl ];
|
propagatedBuildInputs = [ isl ];
|
||||||
|
|
||||||
configureFlags = "--with-isl=system --with-isl-prefix=${isl}" + staticFlags;
|
configureFlags = [ "--with-isl=system" ]
|
||||||
|
++ (stdenv.lib.optionals static [ "--enable-static" "--disable-shared" ]);
|
||||||
|
|
||||||
dontDisableStatic = if static then true else false;
|
dontDisableStatic = static;
|
||||||
|
|
||||||
crossAttrs = {
|
|
||||||
configureFlags = "--with-isl=system --with-isl-prefix=${isl.hostDrv}" + staticFlags;
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user