Skip to content

Commit 4d44185

Browse files
authored
chore(ci): tell crt to not check submodule version (#5450)
1 parent 675b1ec commit 4d44185

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

codebuild/bin/build_aws_crt_cpp.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ git clone --depth 1 --shallow-submodules --recurse-submodules https://github.com
4141
rm -r aws-crt-cpp/crt/s2n
4242
mv s2n aws-crt-cpp/crt/
4343

44-
cmake ./aws-crt-cpp -Bbuild -GNinja -DBUILD_DEPS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}"
44+
cmake ./aws-crt-cpp \
45+
-Bbuild \
46+
-GNinja \
47+
-DENFORCE_SUBMODULE_VERSIONS=off \
48+
-DBUILD_DEPS=ON \
49+
-DCMAKE_BUILD_TYPE=Release \
50+
-DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}"
4551
ninja -C ./build install
4652
CTEST_OUTPUT_ON_FAILURE=1 CTEST_PARALLEL_LEVEL=$(nproc) ninja -C ./build test
4753

0 commit comments

Comments
 (0)