mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
tvm: init at 0.7.0
This commit is contained in:
parent
3216b85713
commit
2eafe0ca1c
30
pkgs/development/compilers/tvm/default.nix
Normal file
30
pkgs/development/compilers/tvm/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tvm";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "incubator-tvm";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "0qflpd3lw0jslyk5lqpv2v42lkqs8mkvnn6i3fdms32iskdfk6p5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
# TVM CMake build uses some sources in the project's ./src/target/opt/
|
||||
# directory which errneously gets mangled by the eager `fixCmakeFiles`
|
||||
# function in Nix's CMake setup-hook.sh to ./src/target/var/empty/,
|
||||
# which then breaks the build. Toggling this flag instructs Nix to
|
||||
# not mangle the legitimate use of the opt/ folder.
|
||||
dontFixCmake = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://tvm.apache.org/";
|
||||
description = "An End to End Deep Learning Compiler Stack for CPUs, GPUs and accelerators";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ adelbertc ];
|
||||
};
|
||||
}
|
@ -7601,6 +7601,8 @@ in
|
||||
|
||||
turses = callPackage ../applications/networking/instant-messengers/turses { };
|
||||
|
||||
tvm = callPackage ../development/compilers/tvm { };
|
||||
|
||||
oysttyer = callPackage ../applications/networking/instant-messengers/oysttyer { };
|
||||
|
||||
twilight = callPackage ../tools/graphics/twilight {
|
||||
|
Loading…
Reference in New Issue
Block a user