代码拉取完成,页面将自动刷新
# 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
);
};
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。