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