From ab7aa9ffabcf41eea26647d0f23abbce050ac1a1 Mon Sep 17 00:00:00 2001 From: gatecat Date: Mon, 2 Mar 2026 18:20:53 +0100 Subject: [PATCH] ci: Actually build some himbaechel uarches Signed-off-by: gatecat --- .github/ci/build_himbaechel.sh | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/ci/build_himbaechel.sh b/.github/ci/build_himbaechel.sh index 49dcc640..12cf71d9 100644 --- a/.github/ci/build_himbaechel.sh +++ b/.github/ci/build_himbaechel.sh @@ -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 }