<commit_before>{% set name = "clad" %}
{% set version = "v0.7" %}

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

source:
  url: https://github.com/vgvassilev/{{ name }}/archive/{{ version }}.tar.gz
  sha256: f93f02c1c03c8daf54c34ec81a46ad13f7431b95a1809e96d26126cb8d0233cc
  folder: source

build:
  number: 0

requirements:
  build:
    - cmake
    - make  # [unix]
    - ninja  # [win]
    - {{ compiler('cxx') }}
  host:
    - llvm
    - llvmdev
    - clang
    - clangdev

test:
  commands:
    - test -f $PREFIX/lib/clad.so  # [unix]
    - if not exist %LIBRARY_BIN%\\clad.dll exit 1  # [win]

about:
  home: https://github.com/vgvassilev/clad
  license: LGPL-3.0
  license_family: LGPL
  license_file: License.txt
  summary: clad -- automatic differentiation for C/C++
  description: |
    Clad enables automatic differentiation (AD) for C++. It is based on LLVM compiler infrastructure and is a plugin for Clang compiler.
  doc_url: https://github.com/vgvassilev/clad/blob/master/README.md
  dev_url: https://github.com/vgvassilev/clad/wiki

extra:
  recipe-maintainers:
    - vgvassilev
    - oshadura<commit_msg>Update license name according SPDX identifier<commit_after>{% set name = "clad" %}
{% set version = "v0.7" %}

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

source:
  url: https://github.com/vgvassilev/{{ name }}/archive/{{ version }}.tar.gz
  sha256: f93f02c1c03c8daf54c34ec81a46ad13f7431b95a1809e96d26126cb8d0233cc
  folder: source

build:
  number: 0

requirements:
  build:
    - cmake
    - make  # [unix]
    - ninja  # [win]
    - {{ compiler('cxx') }}
  host:
    - llvm
    - llvmdev
    - clang
    - clangdev

test:
  commands:
    - test -f $PREFIX/lib/clad.so  # [unix]
    - if not exist %LIBRARY_BIN%\\clad.dll exit 1  # [win]

about:
  home: https://github.com/vgvassilev/clad
  license: LGPL-2.0-or-later
  license_family: LGPL
  license_file: License.txt
  summary: clad -- automatic differentiation for C/C++
  description: |
    Clad enables automatic differentiation (AD) for C++. It is based on LLVM compiler infrastructure and is a plugin for Clang compiler.
  doc_url: https://github.com/vgvassilev/clad/blob/master/README.md
  dev_url: https://github.com/vgvassilev/clad/wiki

extra:
  recipe-maintainers:
    - vgvassilev
    - oshadura
{'fraction_non_alphanumeric': 0.13154478580700996, 'fraction_numerical': 0.04240588489831242, 'mean_word_length': 3.041958041958042, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '7520659', 'n_tokens_mistral': 960, 'n_tokens_neox': 892, 'n_words': 198}