<commit_before>{% set version = "3.5.3" %}
{% set variant = "openblas" %}

package:
    name: simbody
    version: {{ version }}

source:
    fn: Simbody-{{ version }}.tar.gz
    url: https://github.com/simbody/simbody/archive/Simbody-{{ version }}.tar.gz
    sha256: 8005fbdb16c6475f98e13b8f1423b0e9951c193681c2b0d19ae5b711d7e24ec1

build:
    number: 200
    skip: true                # [win and not py35]
    features:
        - vc14                # [win and py35]
        - blas_{{ variant }}  # [unix]

# NOTE: This installs Simbody and the optional visualizer on Linux, Windows, and
# OSX. We build against the openblas available in conda-forge which includes
# lapack on Linux and OSX. blas and lapack are not needed on Windows because
# Simbody includes them. For the visualizer, FreeGLUT is available via
# anaconda.org and conda-forge but libXi and libXmu are not, so the user will
# need those to be installed via their Linux package manager. Glut is included
# with Simbody for Windows and OSX includes a Glut implementation. TODO:
# Doxygen is the only dependency that is omitted here, so the rendered
# documentation is not built.
requirements:
    build:
        - toolchain
        - cmake
        - blas 1.1 {{ variant }}  # [not win]
        - openblas 0.2.18*        # [not win]
        - freeglut                # [linux]
        - python                  # [win]
    run:
        - blas 1.1 {{ variant }}  # [not win]
        - openblas 0.2.18*        # [not win]
        - freeglut                # [linux]
test:
  requires:
    - python 3.5.*  # [win and py35]
  commands:
    - if not exist %LIBRARY_INC%\\simbody\\Simbody.h exit 1  # [win]<commit_msg>Fix paths to the simbody-visualizer binary.<commit_after>{% set version = "3.5.3" %}
{% set variant = "openblas" %}

package:
    name: simbody
    version: {{ version }}

source:
    fn: Simbody-{{ version }}.tar.gz
    url: https://github.com/simbody/simbody/archive/Simbody-{{ version }}.tar.gz
    sha256: 8005fbdb16c6475f98e13b8f1423b0e9951c193681c2b0d19ae5b711d7e24ec1

build:
    number: 200
    skip: true                # [win and not py35]
    features:
        - vc14                # [win and py35]
        - blas_{{ variant }}  # [unix]
    # NOTE : This is needed to ensure the paths to Simbody's binaries, like
    # simbody-visualizer, are corrected.
    detect_binary_files_with_prefix: true

# NOTE: This installs Simbody and the optional visualizer on Linux, Windows, and
# OSX. We build against the openblas available in conda-forge which includes
# lapack on Linux and OSX. blas and lapack are not needed on Windows because
# Simbody includes them. For the visualizer, FreeGLUT is available via
# anaconda.org and conda-forge but libXi and libXmu are not, so the user will
# need those to be installed via their Linux package manager. Glut is included
# with Simbody for Windows and OSX includes a Glut implementation. TODO:
# Doxygen is the only dependency that is omitted here, so the rendered
# documentation is not built.
requirements:
    build:
        - toolchain
        - cmake
        - blas 1.1 {{ variant }}  # [not win]
        - openblas 0.2.18*        # [not win]
        - freeglut                # [linux]
        - python                  # [win]
    run:
        - blas 1.1 {{ variant }}  # [not win]
        - openblas 0.2.18*        # [not win]
        - freeglut                # [linux]
test:
  requires:
    - python 3.5.*  # [win and py35]
  commands:
    - if not exist %LIBRARY_INC%\\simbody\\Simbody.h exit 1  # [win]
{'fraction_non_alphanumeric': 0.09681061247530341, 'fraction_numerical': 0.04177250917301722, 'mean_word_length': 2.2814814814814817, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3069199', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1120, 'n_words': 389}