Skip to content

[cpr] update to 1.11.2#43988

Merged
JavierMatosD merged 6 commits intomicrosoft:masterfrom
miyanyan:cpr-1.11.2
Feb 25, 2025
Merged

[cpr] update to 1.11.2#43988
JavierMatosD merged 6 commits intomicrosoft:masterfrom
miyanyan:cpr-1.11.2

Conversation

@miyanyan
Copy link
Contributor

@miyanyan miyanyan commented Feb 23, 2025

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@JonLiu1993 JonLiu1993 self-assigned this Feb 24, 2025
@JonLiu1993 JonLiu1993 added the category:port-update The issue is with a library, which is requesting update new revision label Feb 24, 2025
@JonLiu1993
Copy link
Contributor

This is pipeline test error, please take a look:

D:\p\cpr_x64-windows-static-md: note: the binaries are relative to ${CURRENT_PACKAGES_DIR} here
note: The following binaries should link with only: Dynamic Debug (/MDd)
note: debug/lib/cpr.lib links with: Static Debug (/MTd)
note: The following binaries should link with only: Dynamic Release (/MD)
note: lib/cpr.lib links with: Static Release (/MT)
D:\a\_work\1\s\ports\cpr\portfile.cmake: warning: Found 1 post-build check problem(s). These are usually caused by bugs in portfile.cmake or the upstream build system. Please correct these before submitting this port to the curated registry.

@miyanyan
Copy link
Contributor Author

This is pipeline test error, please take a look:

D:\p\cpr_x64-windows-static-md: note: the binaries are relative to ${CURRENT_PACKAGES_DIR} here
note: The following binaries should link with only: Dynamic Debug (/MDd)
note: debug/lib/cpr.lib links with: Static Debug (/MTd)
note: The following binaries should link with only: Dynamic Release (/MD)
note: lib/cpr.lib links with: Static Release (/MT)
D:\a\_work\1\s\ports\cpr\portfile.cmake: warning: Found 1 post-build check problem(s). These are usually caused by bugs in portfile.cmake or the upstream build system. Please correct these before submitting this port to the curated registry.

seems relate to https://github.com/libcpr/cpr/blob/master/CMakeLists.txt#L85, can I remove this line?
replated pr, libcpr/cpr#1182

@JonLiu1993
Copy link
Contributor

This is pipeline test error, please take a look:

D:\p\cpr_x64-windows-static-md: note: the binaries are relative to ${CURRENT_PACKAGES_DIR} here
note: The following binaries should link with only: Dynamic Debug (/MDd)
note: debug/lib/cpr.lib links with: Static Debug (/MTd)
note: The following binaries should link with only: Dynamic Release (/MD)
note: lib/cpr.lib links with: Static Release (/MT)
D:\a\_work\1\s\ports\cpr\portfile.cmake: warning: Found 1 post-build check problem(s). These are usually caused by bugs in portfile.cmake or the upstream build system. Please correct these before submitting this port to the curated registry.

seems relate to https://github.com/libcpr/cpr/blob/master/CMakeLists.txt#L85, can I remove this line? replated pr, libcpr/cpr#1182

Try this:

if (MSVC)
    if (BUILD_SHARED_LIBS)
        message(STATUS "Build windows dynamic libs.")
    else()
        set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL$<$<CONFIG:Debug>:Debug>")
        message(STATUS "Build windows static libs.")
    endif()
endif()

@JonLiu1993 JonLiu1993 added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Feb 25, 2025
@JavierMatosD JavierMatosD merged commit 29a7685 into microsoft:master Feb 25, 2025
18 checks passed
pull bot pushed a commit to adamtajti/vcpkg that referenced this pull request Feb 25, 2025
adamtajti pushed a commit to adamtajti/vcpkg that referenced this pull request Feb 27, 2025
adamtajti pushed a commit to adamtajti/vcpkg that referenced this pull request Feb 27, 2025
@miyanyan miyanyan deleted the cpr-1.11.2 branch November 21, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-update The issue is with a library, which is requesting update new revision info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants