mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-03-02 18:04:58 +00:00
ci: Actually build some himbaechel uarches
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
17
.github/ci/build_himbaechel.sh
vendored
17
.github/ci/build_himbaechel.sh
vendored
@@ -1,13 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
export XRAY_DB_PATH=${DEPS_PATH}/prjxray-db
|
||||
export PEPPERCORN_PATH=${DEPS_PATH}/prjpeppercorn
|
||||
|
||||
|
||||
function get_dependencies {
|
||||
:
|
||||
# Fetch prjxray-db
|
||||
git clone https://github.com/openXC7/prjxray-db ${XRAY_DB_PATH}
|
||||
# Fetch apycula
|
||||
pip install --break-system-packages apycula
|
||||
# Fetch prjpeppercorn
|
||||
git clone https://github.com/YosysHQ/prjpeppercorn ${PEPPERCORN_PATH}
|
||||
}
|
||||
|
||||
function build_nextpnr {
|
||||
mkdir build
|
||||
pushd build
|
||||
cmake .. -DARCH=himbaechel -DHIMBAECHEL_UARCH=example -DHIMBAECHEL_EXAMPLE_DEVICES=example
|
||||
cmake .. -DARCH=himbaechel -DHIMBAECHEL_UARCH="gowin;xilinx;example;gatemate" -DHIMBAECHEL_EXAMPLE_DEVICES=example \
|
||||
-D HIMBAECHEL_XILINX_DEVICES="xc7a50t" -D HIMBAECHEL_PRJXRAY_DB=${XRAY_DB_PATH} \
|
||||
-D HIMBAECHEL_GOWIN_DEVICES="GW1N-9C;GW5A-25A" \
|
||||
-D HIMBAECHEL_PEPPERCORN_PATH=${PEPPERCORN_PATH}
|
||||
make nextpnr-himbaechel -j`nproc`
|
||||
popd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user