Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit 1e3c81b

Browse files
authored
Merge pull request #77 from YosysHQ/gatecat/npnr-recursive
Enable recursive clone for nextpnr
2 parents 8ec4a09 + 721c341 commit 1e3c81b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/compile_nextpnr_ecp5.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ prjtrellis_uri=https://github.com/YosysHQ/prjtrellis.git
1414
prjtrellis_commit=master
1515
prjtrellis_commit=$(git ls-remote ${prjtrellis_uri} ${prjtrellis_commit} | cut -f 1)
1616

17-
git_clone $nextpnr_dir $nextpnr_uri $nextpnr_commit
17+
git_clone $nextpnr_dir $nextpnr_uri $nextpnr_commit 1 # enable submodule update
1818
git_clone $prjtrellis_dir $prjtrellis_uri $prjtrellis_commit 1 # enable submodule update
1919

2020
# NOTE: We build libtrellis with python DISABLED.

scripts/compile_nextpnr_ecp5_bba.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ prjtrellis_uri=https://github.com/YosysHQ/prjtrellis.git
1414
prjtrellis_commit=master
1515
prjtrellis_commit=$(git ls-remote ${prjtrellis_uri} ${prjtrellis_commit} | cut -f 1)
1616

17-
git_clone $nextpnr_dir $nextpnr_uri $nextpnr_commit
17+
git_clone $nextpnr_dir $nextpnr_uri $nextpnr_commit 1 # enable submodule update
1818
git_clone $prjtrellis_dir $prjtrellis_uri $prjtrellis_commit 1 # enable submodule update
1919

2020
cd $BUILD_DIR/

scripts/compile_nextpnr_ice40.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dir_name=nextpnr-ice40
77
commit=master
88
git_url=https://github.com/YosysHQ/nextpnr.git
99

10-
git_clone $dir_name $git_url $commit
10+
git_clone $dir_name $git_url $commit 1 # enable submodule update
1111

1212
cd $BUILD_DIR/$dir_name
1313

0 commit comments

Comments
 (0)