build-unit-test-docker: workaround boost and clang-16 issues
Add a patch to work around the issue discussed in boostorg/beast#2648
and observed in bmcweb testing. This patch is only necessary in our
Docker container, and not Yocto, because we only compile with clang
or clang-tidy in the Docker environment.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9e68c74fd8ee1421bf9e49f9f6ce497c8b05a436
diff --git a/scripts/build-unit-test-docker b/scripts/build-unit-test-docker
index 2905a60..834cf86 100755
--- a/scripts/build-unit-test-docker
+++ b/scripts/build-unit-test-docker
@@ -87,7 +87,11 @@
build_type="custom",
build_steps=[
(
- "./bootstrap.sh"
+ "wget"
+ " https://github.com/williamspatrick/beast/commit/98f8b1fbd059a35754c2c7b2841769cf8d021272.patch"
+ " && patch -p2 <"
+ " 98f8b1fbd059a35754c2c7b2841769cf8d021272.patch &&"
+ " ./bootstrap.sh"
f" --prefix={prefix} --with-libraries=context,coroutine"
),
"./b2",