Commit b18e9f04 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added 1GB swap to avoid OOM during build

parent 5244b42d
all:
dd if=/dev/zero of=swap bs=1048576 count=1024
chmod 600 swap
mkswap swap
swapon swap
tar xf qt5-5.15.3-lts-lgpl.tar.gz
tar xf qtbase-5.15.3-lts-lgpl.tar.gz -C qt5-5.15.3-lts-lgpl/qtbase --strip-components=1
mkdir -p qt5-5.15.3-lts-lgpl/qtbase/.git
......@@ -12,3 +17,6 @@ all:
$(MAKE) -C qt5-5.15.3-lts-lgpl
$(MAKE) -C qt5-5.15.3-lts-lgpl install
rm -rf qt5-5.15.3-lts-lgpl
swapoff swap
rm -rf swap
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment