File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,7 @@ chmod +x Miniconda3-latest-Linux-x86_64.sh
9
9
bash ./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda
10
10
rm Miniconda3-latest-Linux-x86_64.sh
11
11
export PATH=/opt/conda/bin:$PATH
12
- conda install -y conda-build anaconda-client git ninja
12
+ # cmake-3.22.1 from conda, same as the one used by PyTorch CI. The system cmake
13
+ # is too old to build triton
14
+ conda install -y conda-build anaconda-client git ninja cmake=3.22.1
13
15
conda remove -y --force patchelf
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
- git clone https://github.com/NixOS/patchelf
5
+ # Pin the version to latest release 0.17.2, building newer commit starts
6
+ # to fail on the current image
7
+ git clone -b 0.17.2 --single-branch https://github.com/NixOS/patchelf
6
8
cd patchelf
7
9
sed -i ' s/serial/parallel/g' configure.ac
8
10
./bootstrap.sh
Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm &
21
21
rpm -ivh epel-release-latest-7.noarch.rpm && \
22
22
rm -f epel-release-latest-7.noarch.rpm
23
23
24
- # cmake-3.18.4 from pip
24
+ # cmake-3.22.1 from pip, same as the one used by PyTorch CI. cmake-3.18.4 is
25
+ # too old to build triton now
25
26
RUN yum install -y python3-pip && \
26
- python3 -mpip install cmake==3.18.4 && \
27
+ python3 -mpip install cmake==3.22.1 && \
27
28
ln -s /usr/local/bin/cmake /usr/bin/cmake
28
29
29
30
RUN yum install -y autoconf aclocal automake make
You can’t perform that action at this time.
0 commit comments