<commit_before>{% set version = "0.1" %}

package:
  name: obake
  version: {{ version }}

source:
  url: https://github.com/bluescarni/obake/archive/v{{ version }}.tar.gz
  sha256: 946de817940421d8af8c614c289b74dc6e221ea803fc2b3dacc30e63d7dc3246

build:
  number: 0
  skip: true   # [win and vc<14]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - clang      # [win]
    - ninja      # [win]

outputs:
  - name: obake
    requirements:
      host:
        - abseil-cpp
        - tbb-devel
        - tbb
        - mppp
        - boost-cpp
        - backtrace    # [linux]
      run:
        - backtrace    # [linux]
    files:
      - lib/libobake*{{ SHLIB_EXT }}   # [not win]
      - lib/libobake.so.*              # [linux]
      - lib/libobake.*.dylib           # [osx]
      - Library/bin/obake.dll          # [win]
    test:
      commands:
        - test -f $PREFIX/lib/libobake.so                                     # [linux]
        - test -f $PREFIX/lib/libobake.dylib                                  # [osx]
        - if not exist %PREFIX%\\Library\\bin\\obake.dll exit 1               # [win]

  - name: obake-devel
    build:
      run_exports:
        # SO name changes at minor rev bumps.
        - {{ pin_subpackage('obake', max_pin='x.x') }}
        - {{ pin_compatible('boost-cpp', max_pin='x.x') }}
        - {{ pin_compatible('tbb', max_pin=None) }}
        - {{ pin_compatible('mppp', max_pin="x.x") }}
    requirements:
      host:
        - abseil-cpp
        - tbb-devel
        - tbb
        - mppp
        - boost-cpp
        - backtrace    # [linux]
      run:
        - abseil-cpp
        - tbb-devel
        - boost-cpp
        - backtrace    # [linux]
        - {{ pin_subpackage("obake", exact=True) }}
    files:
      - include/obake            # [not win]
      - lib/cmake/obake          # [not win]
      - Library/include/obake    # [win]<commit_msg>Remove tbb from the host requirements.<commit_after>{% set version = "0.1" %}

package:
  name: obake
  version: {{ version }}

source:
  url: https://github.com/bluescarni/obake/archive/v{{ version }}.tar.gz
  sha256: 946de817940421d8af8c614c289b74dc6e221ea803fc2b3dacc30e63d7dc3246

build:
  number: 0
  skip: true   # [win and vc<14]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - clang      # [win]
    - ninja      # [win]

outputs:
  - name: obake
    requirements:
      host:
        - abseil-cpp
        - tbb-devel
        - mppp
        - boost-cpp
        - backtrace    # [linux]
      run:
        - backtrace    # [linux]
    files:
      - lib/libobake*{{ SHLIB_EXT }}   # [not win]
      - lib/libobake.so.*              # [linux]
      - lib/libobake.*.dylib           # [osx]
      - Library/bin/obake.dll          # [win]
    test:
      commands:
        - test -f $PREFIX/lib/libobake.so                                     # [linux]
        - test -f $PREFIX/lib/libobake.dylib                                  # [osx]
        - if not exist %PREFIX%\\Library\\bin\\obake.dll exit 1               # [win]

  - name: obake-devel
    build:
      run_exports:
        # SO name changes at minor rev bumps.
        - {{ pin_subpackage('obake', max_pin='x.x') }}
        - {{ pin_compatible('boost-cpp', max_pin='x.x') }}
        - {{ pin_compatible('tbb', max_pin=None) }}
        - {{ pin_compatible('mppp', max_pin="x.x") }}
    requirements:
      host:
        - abseil-cpp
        - tbb-devel
        - mppp
        - boost-cpp
        - backtrace    # [linux]
      run:
        - abseil-cpp
        - tbb-devel
        - boost-cpp
        - backtrace    # [linux]
        - {{ pin_subpackage("obake", exact=True) }}
    files:
      - include/obake            # [not win]
      - lib/cmake/obake          # [not win]
      - Library/include/obake    # [win]
{'fraction_non_alphanumeric': 0.1418971310416128, 'fraction_numerical': 0.025329542517446367, 'mean_word_length': 1.4172392254840724, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1515759', 'n_tokens_mistral': 1424, 'n_tokens_neox': 1355, 'n_words': 244}