Init
This commit is contained in:
commit
0e4e4b0979
19 changed files with 3185 additions and 0 deletions
27
pkgs/umd/default.nix
Normal file
27
pkgs/umd/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "tt-umd";
|
||||
version = "main-2024-02-01";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "tenstorrent-metal";
|
||||
repo = "umd";
|
||||
rev = "341f5b7b299f128faaf2ca446a03298cb781a645";
|
||||
hash = "sha256-jMxhhFWnCjNZZvFiTCeuEHvxvE0+IoaP4NJkr/CDLy8=";
|
||||
};
|
||||
|
||||
patches = [ ./fmt_mystery.patch ./missing_headers.patch ];
|
||||
|
||||
makeFlags = [
|
||||
"DEVICE_CXX=${pkgs.stdenv.cc.targetPrefix}c++"
|
||||
"ARCH_NAME=grayskull"
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [ libyamlcpp boost fmt hwloc ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
mv build/lib $out
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue