1
0
Fork 0

only build bonn1 on ARTIQ-6

This commit is contained in:
Sebastien Bourdeauducq 2019-12-03 11:46:01 +08:00
parent 5c41551a48
commit ddaaaa543b
1 changed files with 14 additions and 11 deletions

View File

@ -22,14 +22,14 @@ let
{ pkgs ? import <nixpkgs> {}}: { pkgs ? import <nixpkgs> {}}:
let let
artiq-fast = import ./fast { inherit pkgs; };
target = "kasli"; target = "kasli";
variants = [ variants = [
"afmaster" "afmaster"
"afsatellite" "afsatellite"
"berkeley" "berkeley"
"berkeley2" "berkeley2"
"bonn1master"
"bonn1satellite"
"csu" "csu"
"duke" "duke"
"duke2" "duke2"
@ -79,9 +79,11 @@ let
"wipm4" "wipm4"
"wipm5master" "wipm5master"
"wipm5satellite" "wipm5satellite"
]; ] ++ (pkgs.lib.lists.optionals ((pkgs.lib.versions.major artiq-fast.artiq.version) == "6") [
"bonn1master"
"bonn1satellite"
]);
artiq-fast = import ./fast { inherit pkgs; };
artiq-board = import ./fast/artiq-board.nix { inherit pkgs; }; artiq-board = import ./fast/artiq-board.nix { inherit pkgs; };
conda-artiq-board = import ./conda-artiq-board.nix { inherit pkgs; }; conda-artiq-board = import ./conda-artiq-board.nix { inherit pkgs; };
src = pkgs.fetchgit { src = pkgs.fetchgit {
@ -135,19 +137,20 @@ let
"1" = "vlbaisatellite"; "1" = "vlbaisatellite";
}; };
}; };
bonn1 = {
master = "bonn1master";
satellites = {
"1" = "bonn1satellite";
};
};
wipm5 = { wipm5 = {
master = "wipm5master"; master = "wipm5master";
satellites = { satellites = {
"1" = "wipm5satellite"; "1" = "wipm5satellite";
}; };
}; };
}; } // (pkgs.lib.optionalAttrs ((pkgs.lib.versions.major artiq-fast.artiq.version) == "6") {
bonn1 = {
master = "bonn1master";
satellites = {
"1" = "bonn1satellite";
};
};
});
drtio-ddbs = pkgs.lib.attrsets.mapAttrs' drtio-ddbs = pkgs.lib.attrsets.mapAttrs'
(system: crates: pkgs.lib.attrsets.nameValuePair ("device-db-" + system) (system: crates: pkgs.lib.attrsets.nameValuePair ("device-db-" + system)
(pkgs.stdenv.mkDerivation { (pkgs.stdenv.mkDerivation {