aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-17 20:37:04 +0100
committerGitHub <noreply@github.com>2021-07-17 20:37:04 +0100
commitc6aa51a2de671772917e880e262d3dd0860ac5ea (patch)
treebc65400daf7a5d900969146d43886f415c834d32
parent2c4599612c9bef86197dd823dbdc3180c02b2db2 (diff)
parent916ae180ac2772d2ed6c129928177ec6befcf01e (diff)
downloadnextpnr-c6aa51a2de671772917e880e262d3dd0860ac5ea.tar.gz
nextpnr-c6aa51a2de671772917e880e262d3dd0860ac5ea.tar.bz2
nextpnr-c6aa51a2de671772917e880e262d3dd0860ac5ea.zip
Merge pull request #766 from pepijndevos/python
Remove python path from gowin target
-rw-r--r--README.md4
-rw-r--r--gowin/CMakeLists.txt2
2 files changed, 2 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3be6ca99..c1b28f15 100644
--- a/README.md
+++ b/README.md
@@ -118,10 +118,10 @@ Nexus support is currently experimental, and has only been tested with engineeri
### nextpnr-gowin
-For Gowin support, install [Project Apicula](https://github.com/YosysHQ/apicula). If a virtualenv is used, the python paths need to be provided as follows:
+For Gowin support, install [Project Apicula](https://github.com/YosysHQ/apicula). If a virtualenv is used, the path to `gowin_bba` needs to be provided as follows:
```
-cmake . -DARCH=gowin -DPYTHON_EXECUTABLE=path -DGOWIN_BBA_EXECUTABLE=path
+cmake . -DARCH=gowin -DGOWIN_BBA_EXECUTABLE=path
make -j$(nproc)
sudo make install
```
diff --git a/gowin/CMakeLists.txt b/gowin/CMakeLists.txt
index 5d70cd32..a356a84b 100644
--- a/gowin/CMakeLists.txt
+++ b/gowin/CMakeLists.txt
@@ -12,8 +12,6 @@ message(STATUS "gowin_bba executable: ${GOWIN_BBA_EXECUTABLE}")
if(DEFINED GOWIN_CHIPDB)
add_custom_target(chipdb-gowin-bbas ALL)
else()
- find_package(PythonInterp 3.6 REQUIRED)
-
# shared among all families
set(SERIALIZE_CHIPDBS TRUE CACHE BOOL
"Serialize device data preprocessing to minimize memory use")