aboutsummaryrefslogtreecommitdiffstats
path: root/.github/ci/build_interchange.sh
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-31 15:14:51 +0100
committerGitHub <noreply@github.com>2021-03-31 15:14:51 +0100
commitec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3 (patch)
tree560c2e21d9a5c4bb5d55f7e62b77c141f39e651e /.github/ci/build_interchange.sh
parentedecc06fcfbedf23773cd8ba04f1eb6f5bd64358 (diff)
parent3678eff5dc13b301f7841d2079ba265bbe3fac2b (diff)
downloadnextpnr-ec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3.tar.gz
nextpnr-ec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3.tar.bz2
nextpnr-ec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3.zip
Merge pull request #646 from YosysHQ/gatecat/nexus-cmake
fpga_interchange: Add CMake support for Nexus/prjoxide
Diffstat (limited to '.github/ci/build_interchange.sh')
-rwxr-xr-x.github/ci/build_interchange.sh19
1 files changed, 14 insertions, 5 deletions
diff --git a/.github/ci/build_interchange.sh b/.github/ci/build_interchange.sh
index 1d2ee9dc..dc839e93 100755
--- a/.github/ci/build_interchange.sh
+++ b/.github/ci/build_interchange.sh
@@ -35,11 +35,20 @@ function get_dependencies {
python3 -m pip install -r requirements.txt
popd
- ## Install RapidWright
- git clone https://github.com/Xilinx/RapidWright.git ${RAPIDWRIGHT_PATH}
- pushd ${RAPIDWRIGHT_PATH}
- make update_jars
- popd
+ if [ ${DEVICE} == "LIFCL-17" ]; then
+ # Install prjoxide
+ curl --proto '=https' -sSf https://sh.rustup.rs | sh -s -- -y
+ git clone --recursive https://github.com/gatecat/prjoxide.git
+ pushd prjoxide/libprjoxide
+ PATH=$PATH:$HOME/.cargo/bin cargo install --path prjoxide --all-features
+ popd
+ else
+ # Install RapidWright
+ git clone https://github.com/Xilinx/RapidWright.git ${RAPIDWRIGHT_PATH}
+ pushd ${RAPIDWRIGHT_PATH}
+ make update_jars
+ popd
+ fi
}
function build_nextpnr {