Fix cumulus
This commit is contained in:
parent
658db5ab58
commit
a3a738c0ff
|
@ -80,14 +80,14 @@
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/macro/macro.py
|
||||
)
|
||||
|
||||
install ( FILES ${pySources} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus )
|
||||
install ( FILES ${pyPlugins} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins )
|
||||
install ( FILES ${pyPluginCTS} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/cts )
|
||||
install ( FILES ${pyPluginC2C} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/core2chip )
|
||||
install ( FILES ${pyPluginChip} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/chip )
|
||||
install ( FILES ${pyPluginAlpha} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha )
|
||||
install ( FILES ${pyPluginAlphaBlock} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha/block )
|
||||
install ( FILES ${pyPluginAlphaC2C} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha/core2chip )
|
||||
install ( FILES ${pyPluginAlphaChip} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha/chip )
|
||||
install ( FILES ${pyPluginAlphaMacro} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha/macro )
|
||||
install ( FILES ${pySources} DESTINATION ${PYTHON_SITE_PACKAGES} )
|
||||
install ( FILES ${pyPlugins} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins )
|
||||
install ( FILES ${pyPluginCTS} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/cts )
|
||||
install ( FILES ${pyPluginC2C} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/core2chip )
|
||||
install ( FILES ${pyPluginChip} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/chip )
|
||||
install ( FILES ${pyPluginAlpha} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/alpha )
|
||||
install ( FILES ${pyPluginAlphaBlock} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/alpha/block )
|
||||
install ( FILES ${pyPluginAlphaC2C} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/alpha/core2chip )
|
||||
install ( FILES ${pyPluginAlphaChip} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/alpha/chip )
|
||||
install ( FILES ${pyPluginAlphaMacro} DESTINATION ${PYTHON_SITE_PACKAGES}/plugins/alpha/macro )
|
||||
install ( PROGRAMS ${pyTools} DESTINATION bin )
|
||||
|
|
|
@ -58,11 +58,11 @@
|
|||
pythonComponents = [
|
||||
"vlsisapd" "hurricane" "crlcore" "flute" "etesian"
|
||||
"anabatic" "katana" "bora" "katabatic" "kite"
|
||||
"tutorial" "unicorn" "oroshi"
|
||||
"tutorial" "unicorn" "oroshi" "cumulus"
|
||||
];
|
||||
|
||||
components = pythonComponents ++ [
|
||||
"lefdef" "bootstrap" "cumulus" "coloquinte"
|
||||
"lefdef" "bootstrap" "coloquinte"
|
||||
"equinox" "knik" "ispd" "karakaze" "nimbus"
|
||||
"metis" "mauka" "solstice" "stratus1"
|
||||
"documentation" "unittests" "alliance-check-toolkit"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ alliance-src, ... }:
|
||||
|
||||
{ stdenv, coriolis-unicorn, coriolis-crlcore, python2Packages, alliance, yosys }:
|
||||
{ stdenv, coriolis-unicorn, coriolis-cumulus, python2Packages, alliance, yosys }:
|
||||
|
||||
let
|
||||
env = python2Packages.python.buildEnv.override {
|
||||
extraLibs = [ coriolis-unicorn ];
|
||||
extraLibs = [ coriolis-unicorn coriolis-cumulus ];
|
||||
};
|
||||
in stdenv.mkDerivation {
|
||||
pname = "alliance-check-toolkit";
|
||||
|
|
|
@ -1,16 +1,27 @@
|
|||
{ version, meta }:
|
||||
{ generic, ... }:
|
||||
|
||||
{ lib, stdenv, cmake, ninja, python2
|
||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
||||
, coriolis-crlcore }:
|
||||
let pkg =
|
||||
{ lib, coriolis-vlsisapd, coriolis-hurricane, coriolis-crlcore
|
||||
, coriolis-etesian, coriolis-anabatic, coriolis-katana
|
||||
, coriolis-unicorn }:
|
||||
{
|
||||
name = "cumulus";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "coriolis-cumulus";
|
||||
src = ../cumulus;
|
||||
|
||||
src = ../cumulus;
|
||||
postInstall = ''
|
||||
# for import check
|
||||
mkdir -p /build/coriolistop/etc/coriolis2
|
||||
export CORIOLIS_TOP=/build/coriolistop
|
||||
'';
|
||||
|
||||
buildInputs = [ python2 coriolis-bootstrap coriolis-vlsisapd coriolis-hurricane coriolis-crlcore ];
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
propagatedBuildInputs = [
|
||||
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
|
||||
coriolis-etesian coriolis-anabatic coriolis-katana
|
||||
coriolis-unicorn
|
||||
];
|
||||
pythonImportsCheck = [ "plugins" ];
|
||||
|
||||
inherit version meta;
|
||||
}
|
||||
meta.license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
in generic pkg
|
||||
|
|
Loading…
Reference in New Issue