Skip to content

Commit

Permalink
[double-conversion] Update to 3.2.1 (#28242)
Browse files Browse the repository at this point in the history
* [double-conversion] update to 3.2.1

* v db

* adjust itk patch

* v db

* check correct variable

* Fix typo

* v db
  • Loading branch information
Neumann-A committed Dec 12, 2022
1 parent 961d5a8 commit 1a2b03e
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 11 deletions.
6 changes: 2 additions & 4 deletions ports/double-conversion/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/double-conversion
REF 9e0c13564e17362aad8a32c1344a2214f71952c6 #v3.2.0
SHA512 4579ae02196a2722cbce2888a404d026d62523256aa5f726c4b46aa25aa76d3caaf653848afb88939aac697049afc8968ddecda8a093520b392c9f963559a992
REF af09fd65fcf24eee95dc62813ba9123414635428 #v3.2.1
SHA512 721d736a2d065b8ff6058345afe6990ab568174e202361abc7ce36c16931c05128df4fd5034f98f114a7b01972eda3b98bfc209ef45394d0b5d4bbce8140b28a
HEAD_REF master
)

Expand Down
2 changes: 1 addition & 1 deletion ports/double-conversion/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "double-conversion",
"version": "3.2.0",
"version": "3.2.1",
"description": "Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.",
"homepage": "https://github.com/google/double-conversion",
"dependencies": [
Expand Down
12 changes: 9 additions & 3 deletions ports/itk/double-conversion.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@ diff --git a/Modules/ThirdParty/DoubleConversion/CMakeLists.txt b/Modules/ThirdP
index 16c611fd3..13978724c 100644
--- a/Modules/ThirdParty/DoubleConversion/CMakeLists.txt
+++ b/Modules/ThirdParty/DoubleConversion/CMakeLists.txt
@@ -9,7 +9,10 @@ mark_as_advanced(ITK_USE_SYSTEM_DOUBLECONVERSION)
@@ -9,7 +9,16 @@ mark_as_advanced(ITK_USE_SYSTEM_DOUBLECONVERSION)
if(ITK_USE_SYSTEM_DOUBLECONVERSION)
find_package(double-conversion REQUIRED)
get_target_property(ITKDoubleConversion_INCLUDE_DIRS double-conversion::double-conversion INTERFACE_INCLUDE_DIRECTORIES)
- get_target_property(ITKDoubleConversion_LIBRARIES double-conversion::double-conversion LOCATION)
+ get_target_property(ITKDoubleConversion_LIBRARY_RELEASE double-conversion::double-conversion LOCATION_RELEASE)
+ get_target_property(ITKDoubleConversion_LIBRARY_DEBUG double-conversion::double-conversion LOCATION_DEBUG)
+ get_target_property(ITKDoubleConversion_LIBRARY_RELEASE double-conversion::double-conversion IMPORTED_IMPLIB_RELEASE)
+ if(NOT ITKDoubleConversion_LIBRARY_RELEASE)
+ get_target_property(ITKDoubleConversion_LIBRARY_RELEASE double-conversion::double-conversion IMPORTED_LOCATION_RELEASE)
+ endif()
+ get_target_property(ITKDoubleConversion_LIBRARY_DEBUG double-conversion::double-conversion IMPORTED_IMPLIB_DEBUG)
+ if(NOT ITKDoubleConversion_LIBRARY_DEBUG)
+ get_target_property(ITKDoubleConversion_LIBRARY_DEBUG double-conversion::double-conversion IMPORTED_LOCATION_DEBUG)
+ endif()
+ include(SelectLibraryConfigurations)
+ select_library_configurations(ITKDoubleConversion)
else()
Expand Down
2 changes: 1 addition & 1 deletion ports/itk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "itk",
"version": "5.2.1",
"port-version": 2,
"port-version": 3,
"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 @@ -2001,7 +2001,7 @@
"port-version": 0
},
"double-conversion": {
"baseline": "3.2.0",
"baseline": "3.2.1",
"port-version": 0
},
"dpdk": {
Expand Down Expand Up @@ -3154,7 +3154,7 @@
},
"itk": {
"baseline": "5.2.1",
"port-version": 2
"port-version": 3
},
"itpp": {
"baseline": "4.3.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/d-/double-conversion.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "16b23d889f831b492aaa819cfde4d5d263be5bed",
"version": "3.2.1",
"port-version": 0
},
{
"git-tree": "b85d7877f614063165639f251200a65e8d5c9ba5",
"version": "3.2.0",
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": "a3904d4a80201635e6687ff2b5ca5d677b559874",
"version": "5.2.1",
"port-version": 3
},
{
"git-tree": "e22b353e8f00bcdc12b78d414a712a3498a2d0d6",
"version": "5.2.1",
Expand Down

0 comments on commit 1a2b03e

Please sign in to comment.