Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
numba
GitHub Repository: numba/llvmlite
Path: blob/main/conda-recipes/llvmdev_for_wheel/meta.yaml
1154 views
1
# This file is a copy of ../llvmdev/meta.yaml with minor changes for wheel # building
2
{% set shortversion = "20.1" %}
3
{% set version = "20.1.8" %}
4
{% set sha256_llvm = "6898f963c8e938981e6c4a302e83ec5beb4630147c7311183cf61069af16333d" %}
5
{% set build_number = "1" %}
6
7
package:
8
name: llvmdev
9
version: {{ version }}
10
11
source:
12
- url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version.replace(".rc", "-rc") }}/llvm-project-{{ version.replace(".rc", "rc") }}.src.tar.xz
13
sha256: {{ sha256_llvm }}
14
patches:
15
# - ../llvm15-clear-gotoffsetmap.patch
16
# - ../llvm15-remove-use-of-clonefile.patch
17
# - ../llvm15-svml.patch
18
# - ../compiler-rt-cfi-startproc-war.patch
19
# - ../compiler-rt-macos-build.patch
20
# Patches from conda-forge needed for windows to build
21
# backport of zlib patches, can be dropped for vs15.0.3, see
22
# https://reviews.llvm.org/D135457 & https://reviews.llvm.org/D136065
23
# - ../llvmdev/patches/0002-CMake-Fix-Findzstd-module-for-shared-DLL-on-Windows.patch
24
# - ../llvmdev/patches/no-windows-symlinks.patch
25
26
build:
27
number: {{ build_number }}
28
string: "manylinux_{{ build_number }}"
29
script_env:
30
- CFLAGS [linux]
31
- CXXFLAGS [linux]
32
- PY_VCRUNTIME_REDIST
33
ignore_run_exports:
34
# Is static-linked
35
- xar
36
37
requirements:
38
build:
39
# Do not use the compiler on linux
40
- {{ compiler('cxx') }} # [not linux]
41
- cmake
42
- ninja
43
- python >=3
44
- libcxx # it is not defined{{ cxx_compiler_version }} # [osx]
45
- patch # [not win]
46
- m2-patch # [win]
47
- git # [(linux and x86_64)]
48
49
host:
50
- libcxx # it is not defined{{ cxx_compiler_version }} # [osx]
51
- libffi # [unix]
52
# # libxml2 supports a windows-only feature, see https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h
53
# - libxml2 # [win]
54
- zlib # [not win]
55
56
test:
57
# Unused test file
58
# files:
59
# - numba-3016.ll
60
commands:
61
- $PREFIX/bin/llvm-config --libs # [not win]
62
- $PREFIX/bin/llc -version # [not win]
63
64
- if not exist %LIBRARY_INC%\\llvm\\Pass.h exit 1 # [win]
65
- if not exist %LIBRARY_LIB%\\LLVMSupport.lib exit 1 # [win]
66
67
- test -f $PREFIX/include/llvm/Pass.h # [unix]
68
- test -f $PREFIX/lib/libLLVMSupport.a # [unix]
69
70
- test -f $PREFIX/lib/libLLVMCore.a # [not win]
71
72
# LLD tests
73
- ld.lld --version # [unix]
74
- lld-link /? # [win]
75
76
about:
77
home: http://llvm.org/
78
dev_url: https://github.com/llvm-mirror/llvm
79
license: NCSA
80
license_file: llvm/LICENSE.TXT
81
summary: Development headers and libraries for LLVM
82
83