<commit_before>{% set name = "rxcpp" %}
{% set version = "4.0.0" %}
{% set sha256 = "50e7395ab1bc2a0000df126c6920a36dd3c4ee04a71496b2f4c10adf50d65178" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/Reactive-Extensions/RxCpp/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - install-to-include.patch  # Patch is already in upstream:
    # https://github.com/Reactive-Extensions/RxCpp/commit/5b7b2a5

build:
  number: 0
  script:
    - cd projects
    - mkdir build
    - cd build
    - cmake -DCMAKE_INSTALL_PREFIX=$PREFIX          ../CMake  # [unix]
    - cmake -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ../CMake  # [win]
    # Run a quick build test that things are sensible.
    - make rxcpp_test_group_by && test/rxcpp_test_group_by      # [unix]
    - nmake rxcpp_test_group_by && tests\/rxcpp_test_group_by   # [win]
    # Install header files (won't install tests/examples):
    - make install<commit_msg>give up on nmake, sigh<commit_after>{% set name = "rxcpp" %}
{% set version = "4.0.0" %}
{% set sha256 = "50e7395ab1bc2a0000df126c6920a36dd3c4ee04a71496b2f4c10adf50d65178" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/Reactive-Extensions/RxCpp/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - install-to-include.patch  # Patch is already in upstream:
    # https://github.com/Reactive-Extensions/RxCpp/commit/5b7b2a5

build:
  number: 0
  script:
    - set -ex  # conda-build 2 doesn't do this automatically  # [unix]
    - cd projects
    - mkdir build
    - cd build
    - cmake -DCMAKE_INSTALL_PREFIX=$PREFIX          ../CMake  # [unix]
    - cmake -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ../CMake  # [win]
    # Run a quick build test that things are sensible.
    # Can't convince nmake to only build one thing, though, so build everything
    # there.
    - make rxcpp_test_group_by && test/rxcpp_test_group_by  # [unix]
    - nmake && tests\\rxcpp_test_group_by                   # [win]
    # Install header files (won't install tests/examples):
    - make install
{'fraction_non_alphanumeric': 0.1340299863698319, 'fraction_numerical': 0.05315765561108587, 'mean_word_length': 2.9963702359346644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6238932', 'n_tokens_mistral': 880, 'n_tokens_neox': 801, 'n_words': 178}