1 Star 0 Fork 0

igo_chen/OpenROAD

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
flake.nix 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
# To use Nix just to get an environment with dependencies:
# 1. Install Nix: https://github.com/DeterminateSystems/nix-installer
# 2. Invoke `nix develop` in your shell. First invocation will
# take around 5 minutes depending on your internet connection and
# CPU speed.
# 3. cd build
# 4. cmake -G Ninja $cmakeFlags ..
# 5. ninja
# To build OpenROAD with Nix:
# 1. Install Nix: https://github.com/DeterminateSystems/nix-installer
# 2. nix build '.?submodules=1#'
{
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-24.05;
};
outputs = {self, nixpkgs, ...}: {
packages = nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
] (
system: let
pkgs = import nixpkgs {inherit system;};
all = {
openroad = (nixpkgs.lib.callPackageWith pkgs) ./default.nix {
flake = self;
};
openroad-release = all.openroad.overrideAttrs (fa: pa: {
pname = "openroad-release";
version = "24Q3";
src = pkgs.fetchFromGitHub {
owner = "The-OpenROAD-Project";
repo = "OpenROAD";
rev = fa.version;
fetchSubmodules = true;
sha256 = "sha256-Ye9XJcoUxtg031eazT4qrexvyN0jZHd8/kmvAr/lPzk=";
};
});
default = all.openroad;
};
in
all
);
};
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Verilog
1
https://gitee.com/igo_chen/OpenROAD.git
git@gitee.com:igo_chen/OpenROAD.git
igo_chen
OpenROAD
OpenROAD
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385