projects
/
dev-env-setup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c5c55
)
Add make -j parallelization and chown and chgrp the got repo's
author
R Veera Kumar
<vklr@vkten.in>
Fri, 12 Mar 2021 11:54:18 +0000
(17:24 +0530)
committer
R Veera Kumar
<vklr@vkten.in>
Fri, 12 Mar 2021 11:54:18 +0000
(17:24 +0530)
nextpnr-ecp5-install
patch
|
blob
|
history
diff --git
a/nextpnr-ecp5-install
b/nextpnr-ecp5-install
index 4d9220bd0e5932996335f7d3eba94836c3dfd5bc..18b7b28fdfa85308a0692f2a38af1d0cedfc0784 100755
(executable)
--- 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 .
+