Skip to content

Commit a306c6c

Browse files
committed
{cudas} Remove optional glibc
1 parent 013d097 commit a306c6c

File tree

5 files changed

+0
-95
lines changed

5 files changed

+0
-95
lines changed

cu126-megapak/Dockerfile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -227,25 +227,6 @@ cpp13 \
227227
&& update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-13 90 \
228228
&& update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-13 90
229229

230-
################################################################################
231-
# Optional glibc 2.39
232-
# 2.39 is also used by RHEL 10 / Ubuntu 24.04
233-
# CUDA 12.x does not support glibc >2.41
234-
235-
WORKDIR /tmp
236-
RUN curl -LO https://ftp.gnu.org/gnu/glibc/glibc-2.39.tar.xz \
237-
&& tar xf glibc-2.39.tar.xz
238-
239-
WORKDIR /tmp/glibc-2.39/build
240-
RUN ../configure \
241-
--prefix=/opt/glibc-2.39 \
242-
--disable-werror \
243-
&& make -j$(nproc) \
244-
&& make install
245-
246-
ENV PATH="/opt/glibc-2.39/bin:${PATH}" \
247-
LD_LIBRARY_PATH="/opt/glibc-2.39:${LD_LIBRARY_PATH}"
248-
249230
################################################################################
250231
# PyTorch, xFormers
251232
# Break down the steps, so we have more but smaller image layers.

cu126-slim/Dockerfile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,25 +110,6 @@ cpp13 \
110110
&& update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-13 90 \
111111
&& update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-13 90
112112

113-
################################################################################
114-
# glibc 2.39
115-
# CUDA 12.x does not support glibc >2.41
116-
# 2.39 is also used by RHEL 10 / Ubuntu 24.04
117-
118-
WORKDIR /tmp
119-
RUN curl -LO https://ftp.gnu.org/gnu/glibc/glibc-2.39.tar.xz \
120-
&& tar xf glibc-2.39.tar.xz
121-
122-
WORKDIR /tmp/glibc-2.39/build
123-
RUN ../configure \
124-
--prefix=/opt/glibc-2.39 \
125-
--disable-werror \
126-
&& make -j$(nproc) \
127-
&& make install
128-
129-
ENV PATH="/opt/glibc-2.39/bin:${PATH}" \
130-
LD_LIBRARY_PATH="/opt/glibc-2.39${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
131-
132113
################################################################################
133114
# Python Packages
134115

cu128-megapak/Dockerfile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -227,25 +227,6 @@ cpp14 \
227227
&& update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-14 90 \
228228
&& update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-14 90
229229

230-
################################################################################
231-
# Optional glibc 2.39
232-
# 2.39 is also used by RHEL 10 / Ubuntu 24.04
233-
# CUDA 12.x does not support glibc >2.41
234-
235-
WORKDIR /tmp
236-
RUN curl -LO https://ftp.gnu.org/gnu/glibc/glibc-2.39.tar.xz \
237-
&& tar xf glibc-2.39.tar.xz
238-
239-
WORKDIR /tmp/glibc-2.39/build
240-
RUN ../configure \
241-
--prefix=/opt/glibc-2.39 \
242-
--disable-werror \
243-
&& make -j$(nproc) \
244-
&& make install
245-
246-
ENV PATH="/opt/glibc-2.39/bin:${PATH}" \
247-
LD_LIBRARY_PATH="/opt/glibc-2.39:${LD_LIBRARY_PATH}"
248-
249230
################################################################################
250231
# PyTorch, xFormers
251232
# Break down the steps, so we have more but smaller image layers.

cu128-slim/Dockerfile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,25 +110,6 @@ cpp14 \
110110
&& update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-14 90 \
111111
&& update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-14 90
112112

113-
################################################################################
114-
# glibc 2.39
115-
# CUDA 12.x does not support glibc >2.41
116-
# 2.39 is also used by RHEL 10 / Ubuntu 24.04
117-
118-
WORKDIR /tmp
119-
RUN curl -LO https://ftp.gnu.org/gnu/glibc/glibc-2.39.tar.xz \
120-
&& tar xf glibc-2.39.tar.xz
121-
122-
WORKDIR /tmp/glibc-2.39/build
123-
RUN ../configure \
124-
--prefix=/opt/glibc-2.39 \
125-
--disable-werror \
126-
&& make -j$(nproc) \
127-
&& make install
128-
129-
ENV PATH="/opt/glibc-2.39/bin:${PATH}" \
130-
LD_LIBRARY_PATH="/opt/glibc-2.39${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
131-
132113
################################################################################
133114
# Python Packages
134115

cu130-slim/Dockerfile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -111,25 +111,6 @@ cpp15 \
111111
&& update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-15 90 \
112112
&& update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-15 90
113113

114-
################################################################################
115-
# glibc 2.41
116-
# Currently CUDA 13.0 supports max to glibc 2.41
117-
# 2.41 is also used by Fedora 42
118-
119-
WORKDIR /tmp
120-
RUN curl -LO https://ftp.gnu.org/gnu/glibc/glibc-2.41.tar.xz \
121-
&& tar xf glibc-2.41.tar.xz
122-
123-
WORKDIR /tmp/glibc-2.41/build
124-
RUN ../configure \
125-
--prefix=/opt/glibc-2.41 \
126-
--disable-werror \
127-
&& make -j$(nproc) \
128-
&& make install
129-
130-
ENV PATH="/opt/glibc-2.41/bin:${PATH}" \
131-
LD_LIBRARY_PATH="/opt/glibc-2.41${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
132-
133114
################################################################################
134115
# Python Packages
135116

0 commit comments

Comments
 (0)