More cores
This commit is contained in:
parent
8746613413
commit
0960e4e6ec
@ -30,7 +30,7 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l
|
|||||||
tar -xf Python-3.12.*.tgz && \
|
tar -xf Python-3.12.*.tgz && \
|
||||||
cd Python-3.12.*/ && \
|
cd Python-3.12.*/ && \
|
||||||
./configure --prefix=/usr/local --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" && \
|
./configure --prefix=/usr/local --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" && \
|
||||||
make -j 2 && \
|
make -j $(nproc) && \
|
||||||
sudo make altinstall && \
|
sudo make altinstall && \
|
||||||
python3.12 -m pip install --user --upgrade pip && \
|
python3.12 -m pip install --user --upgrade pip && \
|
||||||
cd ../ && sudo rm -rf Python-3.12.*/
|
cd ../ && sudo rm -rf Python-3.12.*/
|
||||||
|
Loading…
Reference in New Issue
Block a user