<commit_before>{% set name = "xilinx-runtime" %}
{% set version = "2.13.466" %}
{% set quarter = "202210" %}

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

source:
  url: https://github.com/Xilinx/XRT/archive/refs/tags/{{ quarter }}.{{ version }}.tar.gz
  sha256: d73d8366f6f6d66bfdcb67e72135f559a4d95644c5416c27dea79c235953fd20
  patches:
    - patches/00_disable_werror.patch
    - patches/01_xspi_std_array.patch
    - patches/02_prid64_macro_usage.patch
    - patches/03_icd.patch
    - patches/04_no_static_linkage.patch
    - patches/05_fix_python_rm_dkms_general_cmake.patch
    - patches/06_fix_pkg_config.patch
    - patches/07_no_version_for_dkms.patch
    - patches/08_fix_cmake_install_prefix.patch
    - patches/09_fix_ocl.patch
    - patches/10_no_cloud_daemon.patch
    - patches/11_fix_xbflash_install.patch
    - patches/12_no_setup_script.patch
    - patches/13_fix_appdebug_install.patch
    - patches/14_remove_static_libs.patch

build:
  number: 0
  skip: true  # [not linux]
  ignore_run_exports_from:
    - libdrm
    - libcurl

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - make  # [unix]
    - pkg-config
    - git

  host:
    - python<commit_msg>Add run_exports<commit_after>{% set name = "xilinx-runtime" %}
{% set version = "2.13.466" %}
{% set quarter = "202210" %}

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

source:
  url: https://github.com/Xilinx/XRT/archive/refs/tags/{{ quarter }}.{{ version }}.tar.gz
  sha256: d73d8366f6f6d66bfdcb67e72135f559a4d95644c5416c27dea79c235953fd20
  patches:
    - patches/00_disable_werror.patch
    - patches/01_xspi_std_array.patch
    - patches/02_prid64_macro_usage.patch
    - patches/03_icd.patch
    - patches/04_no_static_linkage.patch
    - patches/05_fix_python_rm_dkms_general_cmake.patch
    - patches/06_fix_pkg_config.patch
    - patches/07_no_version_for_dkms.patch
    - patches/08_fix_cmake_install_prefix.patch
    - patches/09_fix_ocl.patch
    - patches/10_no_cloud_daemon.patch
    - patches/11_fix_xbflash_install.patch
    - patches/12_no_setup_script.patch
    - patches/13_fix_appdebug_install.patch
    - patches/14_remove_static_libs.patch

build:
  number: 0
  skip: true  # [not linux]
  ignore_run_exports_from:
    - libdrm
    - libcurl
  run_exports:
    - {{ pin_subpackage(name, max_pin='x.x') }}

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - make  # [unix]
    - pkg-config
    - git

  host:
    - python
{'fraction_non_alphanumeric': 0.12169103121295931, 'fraction_numerical': 0.07111813512445674, 'mean_word_length': 3.1782178217821784, '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': '4801624', 'n_tokens_mistral': 1100, 'n_tokens_neox': 979, 'n_words': 123}