<commit_before>{% from 'projects/fixtures.sls' import tmuxinator %}
{% set python = "python2" %}
{% set compiler = "clang" %}
{% set project = "purify" %}
{% set prefix = salt['funwith.prefix']('purify') %}
{% set openmp = "+openmp" if compiler != "clang" else "-openmp" %}
{% set spack_packages = [
  "fftw %s" % openmp,
  "GreatCMakeCookoff", "eigen -mpfr +fftw -metis -scotch -suitesparse",
  "gbenchmark", "Catch", "spdlog", "cfitsio", "bison"
]%}
{% if compiler != 'clang' %}
{% do spack_packages.append('openblas %s' % openmp) %}
{% endif %}

{{project}} spack packages:
  spack.installed:
    - pkgs: {{spack_packages}}
    - compiler: {{compiler}}

purify:
  github.present:
    - target: {{prefix}}/src/{{project}}

  funwith.modulefile:
    - prefix: {{prefix}}/src/{{project}}
    - cwd: {{prefix}}/src/{{project}}
    - spack: {{spack_packages}}
    - compiler: {{compiler}}
{% if compiler == "gcc" %}
    - footer: |
        setenv("CXXFLAGS", "-Wno-parentheses -Wno-deprecated-declarations")
        setenv("CXX", "g++-5")
        setenv("CC", "gcc-5")
{% endif %}


  virtualenv.managed:<commit_msg>Incorrect location for installing zhistory file<commit_after>{% from 'projects/fixtures.sls' import tmuxinator %}
{% set python = "python2" %}
{% set compiler = "clang" %}
{% set project = "purify" %}
{% set prefix = salt['funwith.prefix']('purify') %}
{% set openmp = "+openmp" if compiler != "clang" else "-openmp" %}
{% set spack_packages = [
  "fftw %s" % openmp,
  "GreatCMakeCookoff", "eigen -mpfr +fftw -metis -scotch -suitesparse",
  "gbenchmark", "Catch", "spdlog", "cfitsio", "bison"
]%}
{% if compiler != 'clang' %}
{% do spack_packages.append('openblas %s' % openmp) %}
{% endif %}

{{project}} spack packages:
  spack.installed:
    - pkgs: {{spack_packages}}
    - compiler: {{compiler}}

purify:
  github.present:
    - target: {{prefix}}/src/{{project}}

  funwith.modulefile:
    - prefix: {{prefix}}
    - cwd: {{prefix}}/src/{{project}}
    - spack: {{spack_packages}}
    - compiler: {{compiler}}
{% if compiler == "gcc" %}
    - footer: |
        setenv("CXXFLAGS", "-Wno-parentheses -Wno-deprecated-declarations")
        setenv("CXX", "g++-5")
        setenv("CC", "gcc-5")
{% endif %}


  virtualenv.managed:
{'fraction_non_alphanumeric': 0.21104185218165628, 'fraction_numerical': 0.0026714158504007124, 'mean_word_length': 3.7205882352941178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1027349', 'n_tokens_mistral': 881, 'n_tokens_neox': 804, 'n_words': 172}