Skip to content

Commit

Permalink
Merge branch 'main' into MqttJsUpgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera authored Aug 20, 2024
2 parents 9ea364d + d2f7e6b commit af15a40
Show file tree
Hide file tree
Showing 9 changed files with 576 additions and 2,066 deletions.
16 changes: 11 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ if (BUILD_DEPS)

add_subdirectory(crt/aws-c-common)
if (UNIX AND NOT APPLE)
set(SEARCH_LIBCRYPTO OFF)
set(DISABLE_GO ON)
set(DISABLE_PERL ON)
set(BUILD_LIBSSL OFF)
add_subdirectory(crt/aws-lc)
include(AwsPrebuildDependency)
# s2n-tls uses libcrypto during its configuration, so we need to prebuild aws-lc.
prebuild_dependency(
DEPENDENCY_NAME AWSLC
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/crt/aws-lc
CMAKE_ARGUMENTS
-DDISABLE_GO=ON
-DDISABLE_PERL=ON
-DBUILD_LIBSSL=OFF
-DBUILD_TESTING=OFF
)
set(UNSAFE_TREAT_WARNINGS_AS_ERRORS OFF)
add_subdirectory(crt/s2n)
endif()
Expand Down
8 changes: 8 additions & 0 deletions builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@
"al2012": {
"!packages": [],
"!imports": [ "node-14" ]
},
"macos": {
"architectures": {
"arm64": {
"_comment": "Mac OS (arm64) has only experimental support for Node v15 and earlier, so stick to Node v16, see Node v15 docs: https://github.com/nodejs/node/blob/v15.x/BUILDING.md#platform-list",
"!imports": [ "node-16" ]
}
}
}
},
"targets": {
Expand Down
2 changes: 1 addition & 1 deletion continuous-delivery/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 0.2
phases:
install:
runtime-versions:
nodejs: 10
nodejs: 14
pre_build:
commands:
- cd aws-crt-nodejs
Expand Down
2 changes: 1 addition & 1 deletion continuous-delivery/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 0.2
phases:
install:
runtime-versions:
nodejs: 10
nodejs: 14
build:
commands:
- cd aws-crt-nodejs
Expand Down
2 changes: 1 addition & 1 deletion continuous-delivery/test-version-exists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 0.2
phases:
install:
runtime-versions:
nodejs: 10
nodejs: 14
build:
commands:
- cd aws-crt-nodejs
Expand Down
2 changes: 1 addition & 1 deletion crt/aws-c-common
Submodule aws-c-common updated 70 files
+1 −1 .clang-tidy
+17 −8 .github/workflows/ci.yml
+2 −2 .github/workflows/proof_ci_resources/config.yaml
+10 −1 CMakeLists.txt
+2 −1 README.md
+26 −0 THIRD-PARTY-LICENSES.txt
+73 −0 cmake/AwsPrebuildDependency.cmake
+6 −4 cmake/AwsSanitizers.cmake
+449 −0 include/aws/common/cbor.h
+2 −0 include/aws/common/error.h
+68 −1 include/aws/common/json.h
+1 −0 include/aws/common/logging.h
+18 −0 include/aws/common/macros.h
+19 −0 include/aws/common/private/byte_buf.h
+7 −3 include/aws/common/private/external_module_impl.h
+129 −0 scripts/import_libcbor.py
+19 −0 source/byte_buf.c
+647 −0 source/cbor.c
+11 −1 source/common.c
+19 −0 source/external/libcbor/allocators.c
+425 −0 source/external/libcbor/cbor.c
+74 −0 source/external/libcbor/cbor.h
+131 −0 source/external/libcbor/cbor/arrays.c
+137 −0 source/external/libcbor/cbor/arrays.h
+119 −0 source/external/libcbor/cbor/bytestrings.c
+150 −0 source/external/libcbor/cbor/bytestrings.h
+121 −0 source/external/libcbor/cbor/callbacks.c
+189 −0 source/external/libcbor/cbor/callbacks.h
+14 −0 source/external/libcbor/cbor/cbor_export.h
+163 −0 source/external/libcbor/cbor/common.c
+339 −0 source/external/libcbor/cbor/common.h
+46 −0 source/external/libcbor/cbor/configuration.h
+264 −0 source/external/libcbor/cbor/data.h
+200 −0 source/external/libcbor/cbor/encoding.c
+140 −0 source/external/libcbor/cbor/encoding.h
+189 −0 source/external/libcbor/cbor/floats_ctrls.c
+240 −0 source/external/libcbor/cbor/floats_ctrls.h
+422 −0 source/external/libcbor/cbor/internal/builder_callbacks.c
+85 −0 source/external/libcbor/cbor/internal/builder_callbacks.h
+98 −0 source/external/libcbor/cbor/internal/encoders.c
+41 −0 source/external/libcbor/cbor/internal/encoders.h
+80 −0 source/external/libcbor/cbor/internal/loaders.c
+43 −0 source/external/libcbor/cbor/internal/loaders.h
+57 −0 source/external/libcbor/cbor/internal/memory_utils.c
+50 −0 source/external/libcbor/cbor/internal/memory_utils.h
+33 −0 source/external/libcbor/cbor/internal/stack.c
+53 −0 source/external/libcbor/cbor/internal/stack.h
+95 −0 source/external/libcbor/cbor/internal/unicode.c
+33 −0 source/external/libcbor/cbor/internal/unicode.h
+190 −0 source/external/libcbor/cbor/ints.c
+211 −0 source/external/libcbor/cbor/ints.h
+125 −0 source/external/libcbor/cbor/maps.c
+121 −0 source/external/libcbor/cbor/maps.h
+368 −0 source/external/libcbor/cbor/serialization.c
+168 −0 source/external/libcbor/cbor/serialization.h
+600 −0 source/external/libcbor/cbor/streaming.c
+37 −0 source/external/libcbor/cbor/streaming.h
+142 −0 source/external/libcbor/cbor/strings.c
+183 −0 source/external/libcbor/cbor/strings.h
+46 −0 source/external/libcbor/cbor/tags.c
+74 −0 source/external/libcbor/cbor/tags.h
+51 −42 source/json.c
+19 −0 source/posix/thread.c
+2 −18 source/windows/device_random.c
+11 −0 tests/CMakeLists.txt
+58 −1 tests/byte_buf_test.c
+489 −0 tests/cbor_test.c
+87 −0 tests/fuzz/cbor_decoding_transitive.c
+66 −0 tests/fuzz/cbor_double_encode_decode.c
+12 −7 tests/json_test.c
Loading

0 comments on commit af15a40

Please sign in to comment.