File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ RUN apt-get -q update \
1717 && apt-add-repository "deb http://apt.llvm.org/`lsb_release -cs`/ llvm-toolchain-`lsb_release -cs`-$LLVM_VERSION main" \
1818 && apt-get -q update \
1919 && apt-get install -y --no-install-recommends sudo git ssh zlib1g-dev libzstd-dev automake autoconf cmake make lldb ninja-build gcc g++ gfortran build-essential libtool llvm-$LLVM_VERSION-dev clang-format clangd clang-$LLVM_VERSION libclang-$LLVM_VERSION-dev libomp-$LLVM_VERSION-dev libblas-dev libeigen3-dev libboost-dev python3 python3-pip \
20- if [[ $UBUNTU_VERSION == "24.04" ]] then python3 -m pip install --break-system-packages lit pathlib2 else python3 -m pip install lit pathlib2 fi \
2120 && groupadd --gid $USER_GID $USERNAME \
2221 && useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
2322 && echo $USERNAME ALL=\( root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
@@ -26,6 +25,12 @@ RUN apt-get -q update \
2625 && apt-get clean -y \
2726 && rm -rf /var/lib/apt/lists/*
2827
28+ RUN if [ "$UBUNTU_VERSION" = "24.04" ] ; then \
29+ python3 -m pip install --break-system-packages lit pathlib2; \
30+ else \
31+ python3 -m pip install lit pathlib2; \
32+ fi
33+
2934RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
3035 && mkdir /commandhistory \
3136 && touch /commandhistory/.bash_history \
You can’t perform that action at this time.
0 commit comments