mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
flake: update NAC3, move to LLVM 14, remove LLD
This commit is contained in:
parent
77fd47b1fb
commit
0607743669
28
flake.lock
generated
28
flake.lock
generated
@ -11,11 +11,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1653635602,
|
||||
"narHash": "sha256-8Osaeuo5/Yq4sU4mhsIXwmy7ZX3iDBbAAZF3lu1+KdQ=",
|
||||
"lastModified": 1654007592,
|
||||
"narHash": "sha256-vaDFhE1ItjqtIcinC/6RAJGbj44pxxMUEeQUa3FtgEE=",
|
||||
"owner": "m-labs",
|
||||
"repo": "artiq-comtools",
|
||||
"rev": "accc6dd0ca1c1c240b906b14c5cb13098a14906b",
|
||||
"rev": "cb73281154656ee8f74db1866859e31bf42755cd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -45,11 +45,11 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1653596629,
|
||||
"narHash": "sha256-3mKHjaIh1XUTo0nzXoBv5wX34hY8wevVxnVaXtqPnjQ=",
|
||||
"lastModified": 1654510461,
|
||||
"narHash": "sha256-YWtJOQ5XsJGWBX1AihD03a+m/OHtG2bdhjFmx18NdRY=",
|
||||
"ref": "master",
|
||||
"rev": "76473152e88867a2c9cc1afa58de7f17c72054ba",
|
||||
"revCount": 773,
|
||||
"rev": "8e6e4d6715bdfa4a5639068e4a78e89b714fb8d7",
|
||||
"revCount": 787,
|
||||
"type": "git",
|
||||
"url": "https://git.m-labs.hk/m-labs/nac3.git"
|
||||
},
|
||||
@ -60,16 +60,16 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1653354321,
|
||||
"narHash": "sha256-AMUhX1Ch0KMDWCze6KAntwlJ1iFp0fLK2TTW9Mj85WY=",
|
||||
"lastModified": 1654360807,
|
||||
"narHash": "sha256-wYG86PUkPZ1P/oHsCpepTkb/U26poaEPPp1XFjRsgdA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b80531b35cbcddcaf74ceb685b3a0847c134cbe1",
|
||||
"rev": "d9794b04bffb468b886c553557489977ae5f4c65",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "release-22.05",
|
||||
"ref": "nixos-22.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
@ -92,11 +92,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1653633179,
|
||||
"narHash": "sha256-xyHQ77RXI9Zq9is+9laArq1HnlyubozL+Ht9BEQGXow=",
|
||||
"lastModified": 1654009659,
|
||||
"narHash": "sha256-/X4gbvqbth0B8lYFZNp1WyJ18N3uJakjLGuWTkRPLMQ=",
|
||||
"owner": "m-labs",
|
||||
"repo": "sipyco",
|
||||
"rev": "438f649864c58fa2eb213030a336864bba3a18a8",
|
||||
"rev": "d2359ebf43e5283b44d7d40c76382463be4b76f6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
22
flake.nix
22
flake.nix
@ -84,8 +84,8 @@
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgs.qt5.wrapQtAppsHook ];
|
||||
# keep llvm_x and lld_x in sync with nac3
|
||||
propagatedBuildInputs = [ pkgs.llvm_13 pkgs.lld_13 nac3.packages.x86_64-linux.nac3artiq-pgo sipyco.packages.x86_64-linux.sipyco artiq-comtools.packages.x86_64-linux.artiq-comtools ]
|
||||
# keep llvm_x in sync with nac3
|
||||
propagatedBuildInputs = [ pkgs.llvm_14 nac3.packages.x86_64-linux.nac3artiq-pgo sipyco.packages.x86_64-linux.sipyco artiq-comtools.packages.x86_64-linux.artiq-comtools ]
|
||||
++ (with pkgs.python3Packages; [ pyqtgraph pygit2 numpy dateutil scipy prettytable pyserial h5py pyqt5 qasync ]);
|
||||
|
||||
dontWrapQtApps = true;
|
||||
@ -102,8 +102,8 @@
|
||||
"--set FONTCONFIG_FILE ${pkgs.fontconfig.out}/etc/fonts/fonts.conf"
|
||||
];
|
||||
|
||||
# FIXME: automatically propagate lld_13 llvm_13 dependencies
|
||||
checkInputs = [ pkgs.lld_13 pkgs.llvm_13 ];
|
||||
# FIXME: automatically propagate llvm_x dependency
|
||||
checkInputs = [ pkgs.llvm_14 ];
|
||||
checkPhase = ''
|
||||
python -m unittest discover -v artiq.test
|
||||
'';
|
||||
@ -183,12 +183,12 @@
|
||||
};
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
(pkgs.python3.withPackages(ps: [ ps.jsonschema migen misoc artiq]))
|
||||
(pkgs.python3.withPackages(ps: [ ps.jsonschema migen misoc artiq]))
|
||||
rustPlatform.rust.rustc
|
||||
rustPlatform.rust.cargo
|
||||
pkgs.llvmPackages_13.clang-unwrapped
|
||||
pkgs.llvm_13
|
||||
pkgs.lld_13
|
||||
pkgs.llvmPackages_14.clang-unwrapped
|
||||
pkgs.llvm_14
|
||||
pkgs.lld_14
|
||||
vivado
|
||||
rustPlatform.cargoSetupHook
|
||||
cargo-xbuild
|
||||
@ -350,9 +350,9 @@
|
||||
rustPlatform.rust.rustc
|
||||
rustPlatform.rust.cargo
|
||||
cargo-xbuild
|
||||
pkgs.llvmPackages_13.clang-unwrapped
|
||||
pkgs.llvm_13
|
||||
pkgs.lld_13
|
||||
pkgs.llvmPackages_14.clang-unwrapped
|
||||
pkgs.llvm_14
|
||||
pkgs.lld_14
|
||||
# use the vivado-env command to enter a FHS shell that lets you run the Vivado installer
|
||||
packages.x86_64-linux.vivadoEnv
|
||||
packages.x86_64-linux.vivado
|
||||
|
Loading…
Reference in New Issue
Block a user