diff options
| author | Yury Bura <yurybura@gmail.com> | 2021-06-30 02:08:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-29 16:08:28 -0700 |
| commit | c482408411c875135023ef6ebf645e823233bbbb (patch) | |
| tree | 28e7df7a773db241d6106e3c671f354e97ec86b1 /ports/halide | |
| parent | 75beef03d64893d685ec09346147965ee92e1f3f (diff) | |
| download | vcpkg-c482408411c875135023ef6ebf645e823233bbbb.tar.gz vcpkg-c482408411c875135023ef6ebf645e823233bbbb.zip | |
[llvm] update to 12.0.0, enable zlib and libxml2 (#17302)
* [llvm] update to 12.0.0, enable zlib and libxml2
* [llvm] disable libxml2 by default, arm64-windows should be supported
* [llvm] try to fix build with ffi on Windows #17663
* [llvm] re-enable libxml2
* [llvm] fix formatting
* [llvm] overwrite version
* [mesa] update to v21.1.0
* [llvm] update ci.baseline
* [halide] update to the latest master commit
* [llvm] disable libxml2 port until complete PR #15390
* update versions
* [llvm] fix disabling of external libraries
* update version
* update ci.baseline
* update ci.baseline
* fix typo
* [llvm] fix libxml2 (depends on #17945)
* revert "[halide] update to the latest master commit"
* update versions
* [halide] fix zlib dependency for tools
* update versions
* [halide] update to official release v12.0.0
* update versions
* [halide] update to v12.0.1
* update version
* [mesa] remove llvm from defaults
* update version
* update ci.baseline
* [mesa] update to v21.1.2 and fix build with LLVM on Windows
* [llvm] allow to build libunwind project on Windows
* update versions
* [mesa] update ci.baseline.txt to disable x64-windows-static-md, may be fixed in the PR #18495
Diffstat (limited to 'ports/halide')
| -rw-r--r-- | ports/halide/CONTROL | 64 | ||||
| -rw-r--r-- | ports/halide/portfile.cmake | 38 | ||||
| -rw-r--r-- | ports/halide/vcpkg.json | 202 |
3 files changed, 222 insertions, 82 deletions
diff --git a/ports/halide/CONTROL b/ports/halide/CONTROL deleted file mode 100644 index 8ffcc93dd..000000000 --- a/ports/halide/CONTROL +++ /dev/null @@ -1,64 +0,0 @@ -Source: halide
-Version: 11.0.1
-Homepage: https://github.com/halide/Halide
-Description: Halide is a programming language designed to make it easier to write high-performance image and array processing code on modern machines.
-Supports: !uwp
-Default-Features: jit
-Build-Depends: llvm[enable-rtti,tools,clang]
-
-Feature: jit
-Description: Include targets required for jit compilation
-Build-Depends: halide[core,target-x86] (x86|x64), halide[core,target-arm] (arm&!arm64), halide[core,target-aarch64] (arm64), halide[target-all] (!x86&!x64&!arm&!arm64)
-
-Feature: target-all
-Description: Include all targets
-Build-Depends: halide[core,target-aarch64,target-amdgpu,target-arm,target-d3d12compute,target-hexagon,target-metal,target-mips,target-nvptx,target-opencl,target-opengl,target-powerpc,target-riscv,target-x86]
-
-Feature: target-aarch64
-Description: Include AArch64 target
-Build-Depends: llvm[core,target-aarch64]
-
-Feature: target-amdgpu
-Description: Include AMDGPU target
-Build-Depends: llvm[core,target-amdgpu]
-
-Feature: target-arm
-Description: Include ARM target
-Build-Depends: llvm[core,target-arm]
-
-Feature: target-d3d12compute
-Description: Include Direct3D 12 Compute target
-
-Feature: target-hexagon
-Description: Include Hexagon target
-Build-Depends: llvm[core,target-hexagon]
-
-Feature: target-metal
-Description: Include Metal target
-
-Feature: target-mips
-Description: Include Mips target
-Build-Depends: llvm[core,target-mips]
-
-Feature: target-nvptx
-Description: Include NVPTX target
-Build-Depends: llvm[core,target-nvptx]
-
-Feature: target-opencl
-Description: Include OpenCL-C target
-
-Feature: target-opengl
-Description: Include OpenGL/GLSL target
-
-Feature: target-powerpc
-Description: Include PowerPC target
-Build-Depends: llvm[core,target-powerpc]
-
-Feature: target-riscv
-Description: Include RISCV target
-Build-Depends: llvm[core,target-riscv]
-
-Feature: target-x86
-Description: Include X86 target
-Build-Depends: llvm[core,target-x86]
-
diff --git a/ports/halide/portfile.cmake b/ports/halide/portfile.cmake index b8e08adda..83e8399aa 100644 --- a/ports/halide/portfile.cmake +++ b/ports/halide/portfile.cmake @@ -8,25 +8,27 @@ set(VCPKG_POLICY_EMPTY_PACKAGE enabled) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO halide/Halide - REF 85c1b91c47ce15aab0d9502d955e48615f3bcee0 # v11.0.1 - SHA512 3bfdf9fc82d56d099cf74b6683c0017724c1c4ae791e824f5ef3b4d4c1dcb52dd5adddb740ccf6b073b71fcbb748238f42040071ddb64c155f8fdc2709b8121d - HEAD_REF release/11.x + REF 5dabcaa9effca1067f907f6c8ea212f3d2b1d99a # v12.0.1 + SHA512 5ab44703850885561337e23d8b538a5adfe1611e24e8daa4a1313756b4f9dfeb54e89bf8400d46a3340c00234402681b4f44ba3ed5322027fd6cb5dfbd525acd + HEAD_REF release/12.x ) -vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS - target-aarch64 TARGET_AARCH64 - target-amdgpu TARGET_AMDGPU - target-arm TARGET_ARM - target-d3d12compute TARGET_D3D12COMPUTE - target-hexagon TARGET_HEXAGON - target-metal TARGET_METAL - target-mips TARGET_MIPS - target-nvptx TARGET_NVPTX - target-opencl TARGET_OPENCL - target-opengl TARGET_OPENGL - target-powerpc TARGET_POWERPC - target-riscv TARGET_RISCV - target-x86 TARGET_X86 +vcpkg_check_features( + OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + target-aarch64 TARGET_AARCH64 + target-amdgpu TARGET_AMDGPU + target-arm TARGET_ARM + target-d3d12compute TARGET_D3D12COMPUTE + target-hexagon TARGET_HEXAGON + target-metal TARGET_METAL + target-mips TARGET_MIPS + target-nvptx TARGET_NVPTX + target-opencl TARGET_OPENCL + target-opengl TARGET_OPENGL + target-powerpc TARGET_POWERPC + target-riscv TARGET_RISCV + target-x86 TARGET_X86 ) vcpkg_configure_cmake( @@ -43,7 +45,7 @@ vcpkg_configure_cmake( -DHALIDE_INSTALL_CMAKEDIR=share/${PORT} ) -vcpkg_install_cmake() +vcpkg_install_cmake(ADD_BIN_TO_PATH) vcpkg_copy_tools( TOOL_NAMES diff --git a/ports/halide/vcpkg.json b/ports/halide/vcpkg.json new file mode 100644 index 000000000..c66fef61b --- /dev/null +++ b/ports/halide/vcpkg.json @@ -0,0 +1,202 @@ +{ + "name": "halide", + "version": "12.0.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" + ] + } + ], + "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-opengl", + "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-opengl": { + "description": "Include OpenGL/GLSL 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" + ] + } + ] + } + } +} |
