vcpkg/ports/halide/vcpkg.json
Alex Reinking 72ee11d37a
[halide] Fix several issues with the Halide port after v12 (#18747)
* Fix several issues with the Halide port after v12

1. Use vcpkg-cmake and vcpkg-cmake-config ports
2. Fix usage file to point to relevant documentation
3. Remove OpenGL feature (Halide 12 dropped support)
4. Drop VCPKG_POLICY_EMPTY_PACKAGE
5. Set new Halide packaging variables for better vcpkg compliance.

* update versions
2021-07-01 07:24:48 -07:00

208 lines
4.4 KiB
JSON

{
"name": "halide",
"version": "12.0.1",
"port-version": 1,
"description": "Halide is a programming language designed to make it easier to write high-performance image and array processing code on modern machines.",
"homepage": "https://github.com/halide/Halide",
"supports": "!uwp",
"dependencies": [
{
"name": "llvm",
"features": [
"clang",
"enable-rtti",
"tools"
]
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"jit"
],
"features": {
"jit": {
"description": "Include targets required for jit compilation",
"dependencies": [
{
"name": "halide",
"default-features": false,
"features": [
"target-aarch64"
],
"platform": "arm64"
},
{
"name": "halide",
"default-features": false,
"features": [
"target-x86"
],
"platform": "x86 | x64"
},
{
"name": "halide",
"default-features": false,
"features": [
"target-arm"
],
"platform": "arm & !arm64"
},
{
"name": "halide",
"features": [
"target-all"
],
"platform": "!x86 & !x64 & !arm & !arm64"
}
]
},
"target-aarch64": {
"description": "Include AArch64 target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-aarch64"
]
}
]
},
"target-all": {
"description": "Include all targets",
"dependencies": [
{
"name": "halide",
"default-features": false,
"features": [
"target-aarch64",
"target-amdgpu",
"target-arm",
"target-d3d12compute",
"target-hexagon",
"target-metal",
"target-mips",
"target-nvptx",
"target-opencl",
"target-powerpc",
"target-riscv",
"target-x86"
]
}
]
},
"target-amdgpu": {
"description": "Include AMDGPU target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-amdgpu"
]
}
]
},
"target-arm": {
"description": "Include ARM target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-arm"
]
}
]
},
"target-d3d12compute": {
"description": "Include Direct3D 12 Compute target"
},
"target-hexagon": {
"description": "Include Hexagon target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-hexagon"
]
}
]
},
"target-metal": {
"description": "Include Metal target"
},
"target-mips": {
"description": "Include Mips target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-mips"
]
}
]
},
"target-nvptx": {
"description": "Include NVPTX target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-nvptx"
]
}
]
},
"target-opencl": {
"description": "Include OpenCL-C target"
},
"target-powerpc": {
"description": "Include PowerPC target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-powerpc"
]
}
]
},
"target-riscv": {
"description": "Include RISCV target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-riscv"
]
}
]
},
"target-x86": {
"description": "Include X86 target",
"dependencies": [
{
"name": "llvm",
"default-features": false,
"features": [
"target-x86"
]
}
]
}
}
}