mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: aws-crt-cpp: Update to 0.17.1.
* gnu/packages/c.scm (aws-crt-cpp): Update to 0.17.1. [arguments]: Fix CMAKE_PREFIX_PATH, disable network tests. [source]: Remove patches. * gnu/packages/patches/aws-crt-cpp-cmake-prefix.patch, gnu/packages/patches/aws-crt-cpp-disable-networking-tests.patch: Delete files. * gnu/local.mk: Remove them. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d5c9f52a37
commit
37db6db284
4 changed files with 11 additions and 71 deletions
|
@ -873,8 +873,6 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/aws-c-auth-install-private-headers.patch \
|
%D%/packages/patches/aws-c-auth-install-private-headers.patch \
|
||||||
%D%/packages/patches/aws-c-event-stream-cmake-prefix.patch \
|
%D%/packages/patches/aws-c-event-stream-cmake-prefix.patch \
|
||||||
%D%/packages/patches/aws-checksums-cmake-prefix.patch \
|
%D%/packages/patches/aws-checksums-cmake-prefix.patch \
|
||||||
%D%/packages/patches/aws-crt-cpp-cmake-prefix.patch \
|
|
||||||
%D%/packages/patches/aws-crt-cpp-disable-networking-tests.patch \
|
|
||||||
%D%/packages/patches/aws-sdk-cpp-cmake-prefix.patch \
|
%D%/packages/patches/aws-sdk-cpp-cmake-prefix.patch \
|
||||||
%D%/packages/patches/aws-sdk-cpp-disable-networking-tests.patch \
|
%D%/packages/patches/aws-sdk-cpp-disable-networking-tests.patch \
|
||||||
%D%/packages/patches/aws-sdk-cpp-disable-werror.patch \
|
%D%/packages/patches/aws-sdk-cpp-disable-werror.patch \
|
||||||
|
|
|
@ -900,11 +900,14 @@ (define-public folly
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public aws-crt-cpp
|
(define-public aws-crt-cpp
|
||||||
(let* ((commit "c2d6ffa5597825111cc76ad71ffc6aef664d0f25")
|
(let* ((commit "b6d311d76b504bf8ace5134d3fca0e672c36c9c3")
|
||||||
(revision "1"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(name "aws-crt-cpp")
|
(name "aws-crt-cpp")
|
||||||
(version (git-version "0.14.2" revision commit))
|
; Update only when updating aws-sdk-cpp, and when updating also update
|
||||||
|
; versions of library dependencies linked from from
|
||||||
|
; https://github.com/awslabs/aws-crt-cpp/tree/{aws-crt-cpp commit}/crt
|
||||||
|
(version (git-version "0.17.1" revision commit))
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -913,16 +916,15 @@ (define-public aws-crt-cpp
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0l7iwynk2rgzjnr1hi1raazghmk4m7pj47vdq2kf2cfz0b6v9jf5"))
|
"1n0nlbz91j3ycwwrh9652f0h5qr2sj5b1l0i5sg40ajzs7wvzd32"))))
|
||||||
(patches
|
|
||||||
(search-patches
|
|
||||||
"aws-crt-cpp-cmake-prefix.patch"
|
|
||||||
"aws-crt-cpp-disable-networking-tests.patch"))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags
|
'(#:configure-flags
|
||||||
'("-DBUILD_SHARED_LIBS=ON"
|
(list "-DBUILD_DEPS=OFF"
|
||||||
"-DBUILD_DEPS=OFF")))
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
(string-append "-DCMAKE_PREFIX_PATH="
|
||||||
|
(assoc-ref %build-inputs "aws-c-common"))
|
||||||
|
"-DENABLE_NET_TESTS=OFF")))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("aws-c-auth" ,aws-c-auth)
|
`(("aws-c-auth" ,aws-c-auth)
|
||||||
("aws-c-cal" ,aws-c-cal)
|
("aws-c-cal" ,aws-c-cal)
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -39,6 +39,10 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|
||||||
include(AwsCheckHeadersCxx)
|
|
||||||
include(CTest)
|
|
||||||
|
|
||||||
+if (DEFINED ENV{CMAKE_PREFIX_PATH})
|
|
||||||
+ set(CMAKE_PREFIX_PATH $ENV{CMAKE_PREFIX_PATH})
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
if (DEFINED CMAKE_PREFIX_PATH)
|
|
||||||
file(TO_CMAKE_PATH "${CMAKE_PREFIX_PATH}" CMAKE_PREFIX_PATH)
|
|
||||||
endif()
|
|
|
@ -1,47 +0,0 @@
|
||||||
--- a/tests/CMakeLists.txt
|
|
||||||
+++ b/tests/CMakeLists.txt
|
|
||||||
@@ -13,9 +13,9 @@ add_test_case(ApiMultiDefaultCreateDestroy)
|
|
||||||
add_test_case(EventLoopResourceSafety)
|
|
||||||
add_test_case(ClientBootstrapResourceSafety)
|
|
||||||
if (NOT BYO_CRYPTO)
|
|
||||||
- add_net_test_case(MqttClientResourceSafety)
|
|
||||||
+ #add_net_test_case(MqttClientResourceSafety)
|
|
||||||
add_net_test_case(MqttClientNewConnectionUninitializedTlsContext)
|
|
||||||
- add_net_test_case(TLSContextResourceSafety)
|
|
||||||
+ #add_net_test_case(TLSContextResourceSafety)
|
|
||||||
add_net_test_case(TLSContextUninitializedNewConnectionOptions)
|
|
||||||
endif ()
|
|
||||||
add_test_case(Base64RoundTrip)
|
|
||||||
@@ -29,15 +29,15 @@ add_test_case(SHA256ResourceSafety)
|
|
||||||
add_test_case(MD5ResourceSafety)
|
|
||||||
add_test_case(SHA256HMACResourceSafety)
|
|
||||||
if (NOT BYO_CRYPTO)
|
|
||||||
- add_net_test_case(HttpDownloadNoBackPressureHTTP1_1)
|
|
||||||
- add_net_test_case(HttpDownloadNoBackPressureHTTP2)
|
|
||||||
- add_net_test_case(HttpStreamUnActivated)
|
|
||||||
+ #add_net_test_case(HttpDownloadNoBackPressureHTTP1_1)
|
|
||||||
+ #add_net_test_case(HttpDownloadNoBackPressureHTTP2)
|
|
||||||
+ #add_net_test_case(HttpStreamUnActivated)
|
|
||||||
add_net_test_case(HttpCreateConnectionInvalidTlsConnectionOptions)
|
|
||||||
add_net_test_case(IotPublishSubscribe)
|
|
||||||
- add_net_test_case(HttpClientConnectionManagerResourceSafety)
|
|
||||||
+ #add_net_test_case(HttpClientConnectionManagerResourceSafety)
|
|
||||||
add_net_test_case(HttpClientConnectionManagerInvalidTlsConnectionOptions)
|
|
||||||
- add_net_test_case(HttpClientConnectionWithPendingAcquisitions)
|
|
||||||
- add_net_test_case(HttpClientConnectionWithPendingAcquisitionsAndClosedConnections)
|
|
||||||
+ #add_net_test_case(HttpClientConnectionWithPendingAcquisitions)
|
|
||||||
+ #add_net_test_case(HttpClientConnectionWithPendingAcquisitionsAndClosedConnections)
|
|
||||||
endif ()
|
|
||||||
add_test_case(DefaultResolution)
|
|
||||||
add_test_case(OptionalCopySafety)
|
|
||||||
@@ -55,8 +55,8 @@ add_test_case(TestProviderEnvironmentGet)
|
|
||||||
add_test_case(TestProviderProfileGet)
|
|
||||||
add_test_case(TestProviderImdsGet)
|
|
||||||
if (NOT BYO_CRYPTO)
|
|
||||||
- add_net_test_case(TestProviderDefaultChainGet)
|
|
||||||
- add_net_test_case(TestProviderDefaultChainManualTlsContextGet)
|
|
||||||
+ #add_net_test_case(TestProviderDefaultChainGet)
|
|
||||||
+ #add_net_test_case(TestProviderDefaultChainManualTlsContextGet)
|
|
||||||
endif ()
|
|
||||||
add_test_case(TestProviderDelegateGet)
|
|
||||||
add_test_case(HttpRequestTestCreateDestroy)
|
|
Loading…
Reference in a new issue