Path: blob/main/conda-recipes/llvmdev_for_wheel/meta.yaml
1154 views
# This file is a copy of ../llvmdev/meta.yaml with minor changes for wheel # building1{% set shortversion = "20.1" %}2{% set version = "20.1.8" %}3{% set sha256_llvm = "6898f963c8e938981e6c4a302e83ec5beb4630147c7311183cf61069af16333d" %}4{% set build_number = "1" %}56package:7name: llvmdev8version: {{ version }}910source:11- url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version.replace(".rc", "-rc") }}/llvm-project-{{ version.replace(".rc", "rc") }}.src.tar.xz12sha256: {{ sha256_llvm }}13patches:14# - ../llvm15-clear-gotoffsetmap.patch15# - ../llvm15-remove-use-of-clonefile.patch16# - ../llvm15-svml.patch17# - ../compiler-rt-cfi-startproc-war.patch18# - ../compiler-rt-macos-build.patch19# Patches from conda-forge needed for windows to build20# backport of zlib patches, can be dropped for vs15.0.3, see21# https://reviews.llvm.org/D135457 & https://reviews.llvm.org/D13606522# - ../llvmdev/patches/0002-CMake-Fix-Findzstd-module-for-shared-DLL-on-Windows.patch23# - ../llvmdev/patches/no-windows-symlinks.patch2425build:26number: {{ build_number }}27string: "manylinux_{{ build_number }}"28script_env:29- CFLAGS [linux]30- CXXFLAGS [linux]31- PY_VCRUNTIME_REDIST32ignore_run_exports:33# Is static-linked34- xar3536requirements:37build:38# Do not use the compiler on linux39- {{ compiler('cxx') }} # [not linux]40- cmake41- ninja42- python >=343- libcxx # it is not defined{{ cxx_compiler_version }} # [osx]44- patch # [not win]45- m2-patch # [win]46- git # [(linux and x86_64)]4748host:49- libcxx # it is not defined{{ cxx_compiler_version }} # [osx]50- libffi # [unix]51# # libxml2 supports a windows-only feature, see https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h52# - libxml2 # [win]53- zlib # [not win]5455test:56# Unused test file57# files:58# - numba-3016.ll59commands:60- $PREFIX/bin/llvm-config --libs # [not win]61- $PREFIX/bin/llc -version # [not win]6263- if not exist %LIBRARY_INC%\\llvm\\Pass.h exit 1 # [win]64- if not exist %LIBRARY_LIB%\\LLVMSupport.lib exit 1 # [win]6566- test -f $PREFIX/include/llvm/Pass.h # [unix]67- test -f $PREFIX/lib/libLLVMSupport.a # [unix]6869- test -f $PREFIX/lib/libLLVMCore.a # [not win]7071# LLD tests72- ld.lld --version # [unix]73- lld-link /? # [win]7475about:76home: http://llvm.org/77dev_url: https://github.com/llvm-mirror/llvm78license: NCSA79license_file: llvm/LICENSE.TXT80summary: Development headers and libraries for LLVM818283