<commit_before>{ fetchurl, stdenv, ppl, static ? false }:

let

  # --with-host-libstdcxx helps when *ppl* is built statically.
  # But I will suppose that this is statically built only when ppl is also
  # statically built.
  staticFlags =
    assert static -> ppl.dontDisableStatic == true;
    if static then " --enable-static --disable-shared --with-host-libstdcxx=-lstdc++" else "";
    
in

stdenv.mkDerivation rec {
  name = "cloog-ppl-0.15.9";

  src = fetchurl {
    url = "mirror://gcc/infrastructure/${name}.tar.gz";
    sha256 = "19a2n75k3d3n8llng25f2g88lpvd4zn0lm073rkndjw6l6yd8m4c";
  };

  propagatedBuildInputs = [ ppl ];

  configureFlags = "--with-ppl=${ppl}" + staticFlags;
  dontDisableStatic = if static then true else false;

  crossAttrs = {
    configureFlags = "--with-ppl=${ppl.hostDrv}" + staticFlags;
  };<commit_msg>Bump cloog-ppl to 0.15.11<commit_after>{ fetchurl, stdenv, ppl, static ? false }:

let

  # --with-host-libstdcxx helps when *ppl* is built statically.
  # But I will suppose that this is statically built only when ppl is also
  # statically built.
  staticFlags =
    assert static -> ppl.dontDisableStatic == true;
    if static then " --enable-static --disable-shared --with-host-libstdcxx=-lstdc++" else "";
    
in

stdenv.mkDerivation rec {
  name = "cloog-ppl-0.15.11";

  src = fetchurl {
    url = "mirror://gcc/infrastructure/${name}.tar.gz";
    sha256 = "0psdm0bn5gx60glfh955x5b3b23zqrd92idmjr0b00dlnb839mkw";
  };

  propagatedBuildInputs = [ ppl ];

  configureFlags = "--with-ppl=${ppl}" + staticFlags;
  dontDisableStatic = if static then true else false;

  crossAttrs = {
    configureFlags = "--with-ppl=${ppl.hostDrv}" + staticFlags;
  };
{'fraction_non_alphanumeric': 0.13564298297122723, 'fraction_numerical': 0.0364063417498532, 'mean_word_length': 3.425974025974026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3427273', 'n_tokens_mistral': 663, 'n_tokens_neox': 625, 'n_words': 141}