From 501543bb31470e8a2d493f47f9269e8a650ab747 Mon Sep 17 00:00:00 2001 From: R Veera Kumar Date: Fri, 12 Mar 2021 17:24:18 +0530 Subject: [PATCH] Add make -j parallelization and chown and chgrp the got repo's --- nextpnr-ecp5-install | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nextpnr-ecp5-install b/nextpnr-ecp5-install index 4d9220b..18b7b28 100755 --- a/nextpnr-ecp5-install +++ b/nextpnr-ecp5-install @@ -21,7 +21,7 @@ git clone --recursive https://github.com/YosysHQ/nextpnr cd prjtrellis cd libtrellis cmake -DCMAKE_INSTALL_PREFIX=/usr/local/libtrellis . -make +make -j$(nproc) make install cd ../.. @@ -29,7 +29,10 @@ cd nextpnr cmake -DCMAKE_INSTALL_PREFIX=/usr/local/nextpnr-ecp5 \ -DARCH=ecp5 \ -DTRELLIS_INSTALL_PREFIX=/usr/local/libtrellis . -make +make -j$(nproc) make install -# TODO chown post-amble +cd /home/$SUDO_USER/src/nextpnr +chown -R $SUDO_USER . +chgrp -R $SUDO_USER . + -- 2.30.2