Add boost-url to the base container
- Add boost-url package used by bmcweb. In the current state
bmcweb is able to pass CI with boost-url subproject support.
This commit removes the need for vendoring and also the clone
operation for every bmcweb commit.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I9d29ea2c35856d25519dcf3a9fe281529e25c104
diff --git a/build-unit-test-docker.sh b/build-unit-test-docker.sh
index 99fc22e..f742083 100755
--- a/build-unit-test-docker.sh
+++ b/build-unit-test-docker.sh
@@ -114,6 +114,8 @@
[span-lite]=v0.7.0
# version from meta-openembedded/meta-oe/recipes-support/libtinyxml2/libtinyxml2_5.0.1.bb
[tinyxml2]=37bc3aca429f0164adf68c23444540b4a24b5778
+ # version from /meta-openembedded/meta-oe/recipes-devtools/boost-url/boost-url_git.bb
+ [boost-url]=a56ae0df6d3078319755fbaa67822b4fa7fd352b
# version from meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_git.bb
[valijson]=c2f22fddf599d04dc33fcd7ed257c698a05345d9
# version from meta-openembedded/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
@@ -369,6 +371,15 @@
make -j$(nproc) && \
make install
+FROM openbmc-base as openbmc-boost-url
+RUN curl -L https://github.com/CPPAlliance/url/archive/${PKG_REV['boost-url']}.tar.gz | tar -xz && \
+cd url-* && \
+mkdir buildir && \
+cd buildir && \
+cmake ${CMAKE_FLAGS[@]} -DBOOST_URL_STANDALONE=ON -DBOOST_URL_BUILD_TESTS=OFF -DBOOST_URL_BUILD_EXAMPLES=OFF .. && \
+make -j$(nproc) && \
+make install
+
FROM openbmc-base as openbmc-valijson
RUN curl -L https://github.com/tristanpenman/valijson/archive/${PKG_REV['valijson']}.tar.gz | tar -xz && \
cd valijson-* && \