Skip to content

Commit

Permalink
JBR-8006 specify path to gcc-toolset-10
Browse files Browse the repository at this point in the history
  • Loading branch information
vprovodin authored and NikitkoCent committed Dec 10, 2024
1 parent b6b7afb commit 1dcd860
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jb/project/docker/Dockerfile.oraclelinux
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ RUN yum -y update && \
flex-2.6.1-9.el8 \
fontconfig-devel-2.13.1-4.el8 \
freetype-devel-2.9.1-9.el8 \
gcc-c++-8.5.0-22.0.1.el8_10 \
git-2.43.5-1.el8_10 \
git-core-2.43.5-1.el8_10 \
libtool-2.4.6-25.el8 \
libstdc++-static-8.5.0-22.0.1.el8_10 \
libXcomposite-0.4.4-14.el8 \
libXdamage-1.1.4-14.el8 \
libXi-devel-1.7.10-1.el8 \
Expand Down Expand Up @@ -60,6 +58,10 @@ RUN git config --global user.email "[email protected]" && \
git config --global --add safe.directory '*' && \
git config --global http.postBuffer 524288000

ENV PATH="/opt/rh/gcc-toolset-10/root/usr/bin:${PATH}"
ENV LD_LIBRARY_PATH="/opt/rh/gcc-toolset-10/root/usr/lib64:/opt/rh/gcc-toolset-10/root/usr/lib:/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-10/root/usr/lib/dyninst:/opt/rh/gcc-toolset-10/root/usr/lib64:/opt/rh/gcc-toolset-10/root/usr/lib"
ENV PKG_CONFIG_PATH="/opt/rh/gcc-toolset-10/root/usr/lib64/pkgconfig"

# Build GLSLC
RUN git clone https://github.com/google/shaderc --branch v2023.6 \
&& cd shaderc \
Expand Down

0 comments on commit 1dcd860

Please sign in to comment.