Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[itk] Fix download failure #34533

Merged
merged 4 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ports/itk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO InsightSoftwareConsortium/ITK
REF v5.3-rc02
SHA512 fe703bc6ed681cb9983d7d6e21c8ffa7650337e470c09a7241de58a463c23e315516b1a81a18c14f682706056a0ec66932b63d2e24945bdcea03169bc1122bb2
REF "v${VERSION}"
SHA512 48e38864d7cd20b4ff23cfca1a29b4cbf453ce842e037ca473ce5c7e9a5b1c0bf6b12e4c544c812bff2b4bb9feca409587175b6570929c9ac172cb4402d679da
HEAD_REF master
PATCHES
double-conversion.patch
Expand Down Expand Up @@ -186,7 +186,7 @@
)
if(BUILD_RTK) # Remote Modules are only downloaded on configure.
# TODO: In the future try to download via vcpkg_from_github and move the files. That way patching does not need this workaround
vcpkg_apply_patches(SOURCE_PATH "${SOURCE_PATH}/Modules/Remote/RTK" QUIET PATCHES rtk/already_defined.patch rtk/unresolved.patch rtk/Add-missing-include-for-Cuda.patch)

Check warning on line 189 in ports/itk/portfile.cmake

View workflow job for this annotation

GitHub Actions / Check

The function vcpkg_apply_patches is deprecated. Please use the PATCHES arguments to the "extract" helpers (for example, vcpkg_from_github() (https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_from_github))
endif()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
Expand Down
3 changes: 1 addition & 2 deletions ports/itk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "itk",
"version": "5.3-rc02",
"port-version": 6,
"version-string": "5.3rc02",
"description": "Insight Segmentation and Registration Toolkit (ITK) is used for image processing and analysis.",
"homepage": "https://github.com/InsightSoftwareConsortium/ITK",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3525,8 +3525,8 @@
"port-version": 0
},
"itk": {
"baseline": "5.3-rc02",
"port-version": 6
"baseline": "5.3rc02",
"port-version": 0
},
"itpp": {
"baseline": "4.3.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/i-/itk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b74bb68b58026e759112afb8155d44650cee24b4",
"version-string": "5.3rc02",
"port-version": 0
},
{
"git-tree": "9da4bc8949edd65bc3e0afa8e694480e330f5f40",
"version": "5.3-rc02",
Expand Down
Loading