<commit_before>{% set name = "wasmer" %}
{% set version = "0.7.0a0" %}
# some randome commit until 0.7.0 (or 0.6.x) is released that builds with
# rust stable
{% set commit = "6d351b514ccc15fa2f344de4ed68506a6d3baa23" %}

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

source:
  # url: https://github.com/wasmerio/{{ name }}/archive/{{ version }}.tar.gz
  url: https://github.com/wasmerio/wasmer/archive/{{ commit }}.tar.gz
  sha256: b55b4bbe05f602b2f596604e4bd9f46486e974aafd32101c90aea4ba16ae99bd

build:
  skip: true  # [win]
  number: 0
  ignore_run_exports:
    - libffi
    - openssl

requirements:
  build:
    - {{ compiler("c") }}
    - {{ compiler("cxx") }}
    - cmake
    - make
    - rust >=1.36
    - llvm >=8
  host:
    - libffi
    - openssl
  run: []

test:
  source_files:
    - examples/cowsay.wasm
  commands:
    - wasmer --version
    - wasmer --help
    - wasmer validate examples/cowsay.wasm
    - wasmer run examples/cowsay.wasm "{{ version }}"

about:
  home: https://wasmer.io
  license: MIT
  license_family: MIT
  license_file: LICENSE<commit_msg>only demand cxx on linux<commit_after>{% set name = "wasmer" %}
{% set version = "0.7.0a0" %}
# some randome commit until 0.7.0 (or 0.6.x) is released that builds with
# rust stable
{% set commit = "6d351b514ccc15fa2f344de4ed68506a6d3baa23" %}

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

source:
  # url: https://github.com/wasmerio/{{ name }}/archive/{{ version }}.tar.gz
  url: https://github.com/wasmerio/wasmer/archive/{{ commit }}.tar.gz
  sha256: b55b4bbe05f602b2f596604e4bd9f46486e974aafd32101c90aea4ba16ae99bd

build:
  skip: true  # [win]
  number: 0
  ignore_run_exports:
    - libffi
    - openssl

requirements:
  build:
    - {{ compiler("cxx") }}  # [linux]
    - cmake
    - make
    - rust >=1.36
    - llvm >=8
  host:
    - libffi
    - openssl
  run: []

test:
  source_files:
    - examples/cowsay.wasm
  commands:
    - wasmer --version
    - wasmer --help
    - wasmer validate examples/cowsay.wasm
    - wasmer run examples/cowsay.wasm "{{ version }}"

about:
  home: https://wasmer.io
  license: MIT
  license_family: MIT
  license_file: LICENSE
{'fraction_non_alphanumeric': 0.14430147058823528, 'fraction_numerical': 0.07077205882352941, 'mean_word_length': 2.894454382826476, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '628867', 'n_tokens_mistral': 941, 'n_tokens_neox': 855, 'n_words': 181}