{% set shortversion = "20.1" %}
{% set version = "20.1.8" %}
{% set sha256_llvm = "6898f963c8e938981e6c4a302e83ec5beb4630147c7311183cf61069af16333d" %}
{% set build_number = "0" %}
package:
name: llvmdev
version: {{ version }}
source:
- url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version.replace(".rc", "-rc") }}/llvm-project-{{ version.replace(".rc", "rc") }}.src.tar.xz
sha256: {{ sha256_llvm }}
patches:
build:
number: {{ build_number }}
script_env:
- PY_VCRUNTIME_REDIST
ignore_run_exports:
- xar
requirements:
build:
- {{ compiler('cxx') }}
- cmake
- ninja
- python >=3
- libcxx
- patch
- m2-patch
- git
host:
- libcxx
- libffi
- libxml2
- zlib
- zstd
test:
files:
- numba-3016.ll
commands:
- $PREFIX/bin/llvm-config --libs
- $PREFIX/bin/llc -version
- if not exist %LIBRARY_INC%\\llvm\\Pass.h exit 1
- if not exist %LIBRARY_LIB%\\LLVMSupport.lib exit 1
- test -f $PREFIX/include/llvm/Pass.h
- test -f $PREFIX/lib/libLLVMSupport.a
- test -f $PREFIX/lib/libLLVMCore.a
- ld.lld --version
- lld-link /?
about:
home: http://llvm.org/
dev_url: https://github.com/llvm-mirror/llvm
license: NCSA
license_file: llvm/LICENSE.TXT
summary: Development headers and libraries for LLVM