From eb58ac08257cb27d0de0a719a321d9df04c222c4 Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Mon, 23 Jan 2023 08:05:28 -0800 Subject: [PATCH] Add lib64 in the llvm-toolset config (#325) --- swift-ci/master/centos/7/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swift-ci/master/centos/7/Dockerfile b/swift-ci/master/centos/7/Dockerfile index 8613cfc1..584065e1 100644 --- a/swift-ci/master/centos/7/Dockerfile +++ b/swift-ci/master/centos/7/Dockerfile @@ -41,6 +41,9 @@ RUN yum install --enablerepo=centosplus -y \ RUN echo -e ". /opt/rh/sclo-git25/enable\n. /opt/rh/llvm-toolset-7.0/enable\n. /opt/rh/devtoolset-8/enable\n" >> /home/build-user/.bashrc +RUN echo /opt/rh/llvm-toolset-7.0/root/usr/lib64/ > /etc/ld.so.conf.d/llvm-toolset.conf +RUN ldconfig + RUN sed -i -e 's/\*__block/\*__libc_block/g' /usr/include/unistd.h USER build-user