This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new 64b46db Add a custom libfmt 8.1.1 to be installed into the image at
/opt/libfmt (#378)
64b46db is described below
commit 64b46dbf72cda5e38f2b1f23e1d0742b241249b7
Author: Evan Zelkowitz <[email protected]>
AuthorDate: Mon Jun 30 17:07:43 2025 -0600
Add a custom libfmt 8.1.1 to be installed into the image at /opt/libfmt
(#378)
will have to enable in the rocky8 build with
-DENABLE_CRIPTS=ON -Dfmt_DIR=/opt/libfmt
---
docker/rockylinux8/Dockerfile | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/docker/rockylinux8/Dockerfile b/docker/rockylinux8/Dockerfile
index 5d6e0aa..0ea3221 100644
--- a/docker/rockylinux8/Dockerfile
+++ b/docker/rockylinux8/Dockerfile
@@ -289,6 +289,19 @@ RUN <<EOF
cmake --install build
cd /root
rm -rf yaml-cpp
+
+ cd /root/
+ mkdir libfmt
+ cd libfmt
+ mkdir fmt
+ wget -O libfmt-8.1.1.tar.gz
https://github.com/fmtlib/fmt/archive/refs/tags/8.1.1.tar.gz
+ tar -xvzf libfmt-8.1.1.tar.gz -C fmt --strip-components=1
+ cd fmt
+ cmake -B build -DCMAKE_INSTALL_PREFIX=/opt/libfmt
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE
+ cmake --build build
+ cmake --install build
+ cd /root
+ rm -rf libfmt
EOF
# Keep this at the end to clean up the dnf cache.