Some checks pass!
This commit is contained in:
parent
a3a738c0ff
commit
84640f3bc1
|
@ -2,16 +2,12 @@
|
||||||
|
|
||||||
{ stdenv, coriolis-unicorn, coriolis-cumulus, python2Packages, alliance, yosys }:
|
{ stdenv, coriolis-unicorn, coriolis-cumulus, python2Packages, alliance, yosys }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation {
|
||||||
env = python2Packages.python.buildEnv.override {
|
|
||||||
extraLibs = [ coriolis-unicorn coriolis-cumulus ];
|
|
||||||
};
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
pname = "alliance-check-toolkit";
|
pname = "alliance-check-toolkit";
|
||||||
version = builtins.substring 0 8 alliance-src.lastModifiedDate;
|
version = builtins.substring 0 8 alliance-src.lastModifiedDate;
|
||||||
src = alliance-src;
|
src = alliance-src;
|
||||||
|
|
||||||
nativeBuildInputs = [ alliance coriolis-unicorn yosys ];
|
nativeBuildInputs = [ alliance coriolis-unicorn coriolis-cumulus yosys ];
|
||||||
|
|
||||||
YOSYS_TOP = "${yosys}";
|
YOSYS_TOP = "${yosys}";
|
||||||
ALLIANCE_TOP = "${alliance}";
|
ALLIANCE_TOP = "${alliance}";
|
||||||
|
@ -20,6 +16,7 @@ in stdenv.mkDerivation {
|
||||||
# which is why we use it.
|
# which is why we use it.
|
||||||
USER = "verhaegs";
|
USER = "verhaegs";
|
||||||
|
|
||||||
|
patchPhase = "true";
|
||||||
configurePhase = "true";
|
configurePhase = "true";
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd benchs/adder/cmos
|
cd benchs/adder/cmos
|
||||||
|
@ -29,4 +26,5 @@ in stdenv.mkDerivation {
|
||||||
make lvx
|
make lvx
|
||||||
'';
|
'';
|
||||||
installPhase = "true";
|
installPhase = "true";
|
||||||
|
fixupPhase = "true";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue