2021-04-14 06:17:17 +08:00
|
|
|
{
|
|
|
|
"name": "llvm",
|
2024-06-06 16:14:30 +08:00
|
|
|
"version": "18.1.6",
|
2024-07-13 22:16:54 +08:00
|
|
|
"port-version": 1,
|
2021-04-14 06:17:17 +08:00
|
|
|
"description": "The LLVM Compiler Infrastructure.",
|
|
|
|
"homepage": "https://llvm.org",
|
2022-03-04 04:31:21 +08:00
|
|
|
"license": "Apache-2.0",
|
2021-12-21 00:21:15 +08:00
|
|
|
"supports": "!uwp & !(arm & windows)",
|
|
|
|
"dependencies": [
|
2023-05-27 06:36:20 +08:00
|
|
|
{
|
2023-10-13 01:46:42 +08:00
|
|
|
"name": "atl",
|
2023-05-27 06:36:20 +08:00
|
|
|
"platform": "windows & !mingw"
|
|
|
|
},
|
2021-12-21 00:21:15 +08:00
|
|
|
{
|
|
|
|
"name": "vcpkg-cmake",
|
|
|
|
"host": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "vcpkg-cmake-config",
|
|
|
|
"host": true
|
2022-05-17 02:41:53 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "vcpkg-cmake-get-vars",
|
|
|
|
"host": true
|
2021-12-21 00:21:15 +08:00
|
|
|
}
|
|
|
|
],
|
2021-04-14 06:17:17 +08:00
|
|
|
"default-features": [
|
|
|
|
"clang",
|
|
|
|
"default-targets",
|
2023-10-13 01:46:42 +08:00
|
|
|
"enable-bindings",
|
|
|
|
"enable-terminfo",
|
|
|
|
"enable-zlib",
|
|
|
|
"enable-zstd",
|
2021-04-14 06:17:17 +08:00
|
|
|
"lld",
|
|
|
|
"tools"
|
|
|
|
],
|
|
|
|
"features": {
|
2022-05-17 02:41:53 +08:00
|
|
|
"bolt": {
|
|
|
|
"description": "BOLT is a post-link optimizer developed to speed up large applications.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"clang": {
|
|
|
|
"description": "Include C Language Family Front-end.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"clang-tools-extra": {
|
2023-01-19 03:42:07 +08:00
|
|
|
"description": "Include Clang tools.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"clang"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 06:17:17 +08:00
|
|
|
},
|
|
|
|
"compiler-rt": {
|
2023-04-22 12:42:15 +08:00
|
|
|
"description": "Include compiler's runtime libraries.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"clang"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 06:17:17 +08:00
|
|
|
},
|
|
|
|
"default-targets": {
|
|
|
|
"description": "Build with platform-specific default targets.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"target-aarch64"
|
|
|
|
],
|
|
|
|
"platform": "arm64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"target-x86"
|
|
|
|
],
|
|
|
|
"platform": "x86 | x64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"target-arm"
|
|
|
|
],
|
|
|
|
"platform": "arm & !arm64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"enable-abi-breaking-checks": {
|
|
|
|
"description": "Build LLVM with LLVM_ABI_BREAKING_CHECKS=FORCE_ON."
|
|
|
|
},
|
|
|
|
"enable-assertions": {
|
|
|
|
"description": "Build LLVM with assertions."
|
|
|
|
},
|
|
|
|
"enable-bindings": {
|
|
|
|
"description": "Build bindings."
|
|
|
|
},
|
|
|
|
"enable-eh": {
|
|
|
|
"description": "Build LLVM with exception handler.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"enable-rtti"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"enable-ffi": {
|
|
|
|
"description": "Build LLVM with FFI.",
|
|
|
|
"dependencies": [
|
|
|
|
"libffi"
|
|
|
|
]
|
|
|
|
},
|
2023-04-12 14:20:09 +08:00
|
|
|
"enable-ios": {
|
|
|
|
"description": "Build compiler-rt for iOS SDK.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"target-arm"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-06-30 07:08:28 +08:00
|
|
|
"enable-libxml2": {
|
|
|
|
"description": "Build with LibXml2.",
|
|
|
|
"dependencies": [
|
|
|
|
"libxml2"
|
|
|
|
]
|
|
|
|
},
|
2023-09-08 04:09:08 +08:00
|
|
|
"enable-mlir-python-bindings": {
|
|
|
|
"description": "Build MLIR Python bindings.",
|
|
|
|
"supports": "!(windows & static)",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"mlir"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pybind11",
|
|
|
|
"python3"
|
|
|
|
]
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"enable-rtti": {
|
|
|
|
"description": "Build LLVM with run-time type information."
|
|
|
|
},
|
|
|
|
"enable-terminfo": {
|
|
|
|
"description": "Use terminfo database if available."
|
|
|
|
},
|
2021-06-30 07:08:28 +08:00
|
|
|
"enable-zlib": {
|
|
|
|
"description": "Build with ZLib.",
|
|
|
|
"dependencies": [
|
|
|
|
"zlib"
|
|
|
|
]
|
|
|
|
},
|
2023-04-12 14:20:09 +08:00
|
|
|
"enable-zstd": {
|
|
|
|
"description": "Build with zstd.",
|
|
|
|
"dependencies": [
|
|
|
|
"zstd"
|
|
|
|
]
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"flang": {
|
|
|
|
"description": "Include Fortran front end.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
2021-12-21 00:21:15 +08:00
|
|
|
"clang",
|
2021-04-14 06:17:17 +08:00
|
|
|
"mlir",
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-10-13 01:46:42 +08:00
|
|
|
"libc": {
|
|
|
|
"description": "Include libc library.",
|
|
|
|
"supports": "linux",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"clang",
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"libclc": {
|
|
|
|
"description": "Include OpenCL library."
|
|
|
|
},
|
|
|
|
"libcxx": {
|
|
|
|
"description": "Include libcxx library.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
2023-10-13 01:46:42 +08:00
|
|
|
"clang",
|
|
|
|
"libcxxabi",
|
|
|
|
"tools"
|
2021-04-14 06:17:17 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"libcxxabi": {
|
2023-04-22 12:42:15 +08:00
|
|
|
"description": "Include libcxxabi library.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
2023-10-13 01:46:42 +08:00
|
|
|
"clang",
|
|
|
|
"libcxx",
|
2023-04-22 12:42:15 +08:00
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 06:17:17 +08:00
|
|
|
},
|
|
|
|
"libunwind": {
|
2023-04-22 12:42:15 +08:00
|
|
|
"description": "Include libunwind library.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 06:17:17 +08:00
|
|
|
},
|
|
|
|
"lld": {
|
|
|
|
"description": "Include LLVM linker.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"lldb": {
|
|
|
|
"description": "Include LLVM debugger.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
2023-04-22 12:42:15 +08:00
|
|
|
"clang",
|
|
|
|
"enable-terminfo",
|
2021-04-14 06:17:17 +08:00
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"mlir": {
|
|
|
|
"description": "Include MLIR (Multi-Level IR Compiler Framework) project.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
2024-02-06 03:40:21 +08:00
|
|
|
"tools",
|
|
|
|
"utils"
|
2021-04-14 06:17:17 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"openmp": {
|
|
|
|
"description": "Include LLVM OpenMP libraries.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
2023-04-22 12:42:15 +08:00
|
|
|
"clang",
|
2021-04-14 06:17:17 +08:00
|
|
|
"utils"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"polly": {
|
|
|
|
"description": "Include Polly (Polyhedral optimizations for LLVM) project.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"tools",
|
|
|
|
"utils"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pstl": {
|
2023-10-13 01:46:42 +08:00
|
|
|
"description": "Include pstl (Parallel STL) library.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 06:17:17 +08:00
|
|
|
},
|
|
|
|
"target-aarch64": {
|
|
|
|
"description": "Build with AArch64 backend."
|
|
|
|
},
|
|
|
|
"target-all": {
|
|
|
|
"description": "Build with all backends.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"target-aarch64",
|
|
|
|
"target-amdgpu",
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-arc",
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-arm",
|
|
|
|
"target-avr",
|
|
|
|
"target-bpf",
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-csky",
|
|
|
|
"target-directx",
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-hexagon",
|
|
|
|
"target-lanai",
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-loongarch",
|
|
|
|
"target-m68k",
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-mips",
|
|
|
|
"target-msp430",
|
|
|
|
"target-nvptx",
|
|
|
|
"target-powerpc",
|
|
|
|
"target-riscv",
|
|
|
|
"target-sparc",
|
2022-06-15 00:07:45 +08:00
|
|
|
"target-spirv",
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-systemz",
|
2022-05-17 02:41:53 +08:00
|
|
|
"target-ve",
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-webassembly",
|
|
|
|
"target-x86",
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-xcore",
|
|
|
|
"target-xtensa"
|
2021-04-14 06:17:17 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"target-amdgpu": {
|
|
|
|
"description": "Build with AMDGPU backend."
|
|
|
|
},
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-arc": {
|
|
|
|
"description": "Build with ARC backend (experimental)."
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-arm": {
|
|
|
|
"description": "Build with ARM backend."
|
|
|
|
},
|
|
|
|
"target-avr": {
|
|
|
|
"description": "Build with AVR backend."
|
|
|
|
},
|
|
|
|
"target-bpf": {
|
|
|
|
"description": "Build with BPF backend."
|
|
|
|
},
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-csky": {
|
|
|
|
"description": "Build with CSKY backend (experimental)."
|
|
|
|
},
|
|
|
|
"target-directx": {
|
|
|
|
"description": "Build with DirectX backend (experimental)."
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-hexagon": {
|
|
|
|
"description": "Build with Hexagon backend."
|
|
|
|
},
|
|
|
|
"target-lanai": {
|
|
|
|
"description": "Build with Lanai backend."
|
|
|
|
},
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-loongarch": {
|
|
|
|
"description": "Build with LoongArch backend."
|
|
|
|
},
|
|
|
|
"target-m68k": {
|
|
|
|
"description": "Build with M68k backend (experimental)."
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-mips": {
|
|
|
|
"description": "Build with Mips backend."
|
|
|
|
},
|
|
|
|
"target-msp430": {
|
|
|
|
"description": "Build with MSP430 backend."
|
|
|
|
},
|
|
|
|
"target-nvptx": {
|
|
|
|
"description": "Build with NVPTX backend."
|
|
|
|
},
|
|
|
|
"target-powerpc": {
|
|
|
|
"description": "Build with PowerPC backend."
|
|
|
|
},
|
|
|
|
"target-riscv": {
|
|
|
|
"description": "Build with RISC-V backend."
|
|
|
|
},
|
|
|
|
"target-sparc": {
|
|
|
|
"description": "Build with Sparc backend."
|
|
|
|
},
|
2022-06-15 00:07:45 +08:00
|
|
|
"target-spirv": {
|
2023-10-13 01:46:42 +08:00
|
|
|
"description": "Build with SPIRV backend (experimental)."
|
2022-06-15 00:07:45 +08:00
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-systemz": {
|
|
|
|
"description": "Build with SystemZ backend."
|
|
|
|
},
|
2022-05-17 02:41:53 +08:00
|
|
|
"target-ve": {
|
|
|
|
"description": "Build with VE backend."
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"target-webassembly": {
|
|
|
|
"description": "Build with WebAssembly backend."
|
|
|
|
},
|
|
|
|
"target-x86": {
|
|
|
|
"description": "Build with X86 backend."
|
|
|
|
},
|
|
|
|
"target-xcore": {
|
|
|
|
"description": "Build with XCore backend."
|
|
|
|
},
|
2023-10-13 01:46:42 +08:00
|
|
|
"target-xtensa": {
|
|
|
|
"description": "Build with Xtensa backend (experimental)."
|
|
|
|
},
|
2021-04-14 06:17:17 +08:00
|
|
|
"tools": {
|
2023-10-13 01:46:42 +08:00
|
|
|
"description": "Build LLVM tools."
|
2021-04-14 06:17:17 +08:00
|
|
|
},
|
|
|
|
"utils": {
|
2024-07-13 22:16:54 +08:00
|
|
|
"description": "Build LLVM utils.",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "llvm",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"tools"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 06:17:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|