artiq-full: add a boardsWithoutBuildSplit blacklist

This commit is contained in:
Astro 2020-12-27 01:59:39 +01:00
parent e189ee4c8f
commit cc6e7095f3
1 changed files with 13 additions and 4 deletions

View File

@ -102,13 +102,22 @@ let
"wipm7master"
"wipm7satellite"
]);
# Splitting the build process into software+gateware does
# not work when artiq embeds compiled firmware into generated
# Vivado input.
boardsWithoutBuildSplit = [
{ target = "sayma"; variant = "rtm"; }
];
vivado = import ./fast/vivado.nix { inherit pkgs; };
artiq-board-import =
artiq-board-import = path: import path { inherit pkgs vivado; };
artiq-board = args:
if pkgs.lib.strings.versionAtLeast artiq-fast.artiq.version "6.0"
then ./artiq-board.nix
else ./fast/artiq-board.nix;
artiq-board = import artiq-board-import { inherit pkgs vivado; };
&& ! builtins.elem { inherit (args) target variant; } boardsWithoutBuildSplit
then
artiq-board-import ./artiq-board.nix args
else
artiq-board-import ./fast/artiq-board.nix args;
conda-artiq-board = import ./conda-artiq-board.nix { inherit pkgs; };
src = pkgs.fetchgit {
url = "https://git.m-labs.hk/M-Labs/sinara-systems.git";