<commit_before>{% set name = "clang-win-activation" %}
{% set version = "9.0.0" %}

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

build:
  number: 0
  skip: True  # [win]

outputs:
  - name: winsdk
    script: install-pkg.sh
    version: {{ WINSDK_VERSION }}
    requirements:
      - p7zip
      - msitools
      - curl

  - name: msvc-headers
    script: install-pkg.sh
    version: {{ MSVC_HEADERS_VERSION }}
    requirements:
      - p7zip
      - msitools
      - curl

  - name: clang_win-64
    script: install-pkg.sh
    build:
      run_exports:
        strong:
          - vc >=14.1
          - vs2015_runtime >={{ MSVC_HEADERS_VERSION }}
    requirements:
      - {{ pin_subpackage("msvc-headers", max_pin="x.x.x") }}
      - {{ pin_subpackage("winsdk", max_pin="x.x.x") }}
      - clangxx     {{ version }}
      - llvm-tools  {{ version }}
      - lld         {{ version }}
    test:
      files:
        - test.c
        - test.cpp
      commands:
        - echo "{{ CONDA_BUILD_WINSDK|default('') }}"
        - echo "{{ CI|default('') }}"
        - $CC $CFLAGS test.cpp $LDFLAGS -v
        - test -f a.exe
        - $CXX $CFLAGS test.c $LDFLAGS -v
<commit_msg>Correct extensions<commit_after>{% set name = "clang-win-activation" %}
{% set version = "9.0.0" %}

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

build:
  number: 0
  skip: True  # [win]

outputs:
  - name: winsdk
    script: install-pkg.sh
    version: {{ WINSDK_VERSION }}
    requirements:
      - p7zip
      - msitools
      - curl

  - name: msvc-headers
    script: install-pkg.sh
    version: {{ MSVC_HEADERS_VERSION }}
    requirements:
      - p7zip
      - msitools
      - curl

  - name: clang_win-64
    script: install-pkg.sh
    build:
      run_exports:
        strong:
          - vc >=14.1
          - vs2015_runtime >={{ MSVC_HEADERS_VERSION }}
    requirements:
      - {{ pin_subpackage("msvc-headers", max_pin="x.x.x") }}
      - {{ pin_subpackage("winsdk", max_pin="x.x.x") }}
      - clangxx     {{ version }}
      - llvm-tools  {{ version }}
      - lld         {{ version }}
    test:
      files:
        - test.c
        - test.cpp
      commands:
        - echo "{{ CONDA_BUILD_WINSDK|default('') }}"
        - echo "{{ CI|default('') }}"
        - $CC $CFLAGS test.c $LDFLAGS -v
        - test -f a.exe
        - $CXX $CFLAGS test.cpp $LDFLAGS -v

{'fraction_non_alphanumeric': 0.1535879143936215, 'fraction_numerical': 0.01258917331095258, 'mean_word_length': 1.7850467289719627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '6621463', 'n_tokens_mistral': 867, 'n_tokens_neox': 839, 'n_words': 167}