2016-03-06 23:54:07 +08:00
|
|
|
{ runCommand, fetchFromGitHub, git }:
|
|
|
|
|
|
|
|
let
|
|
|
|
llvm-src = fetchFromGitHub {
|
2018-08-16 00:33:52 +08:00
|
|
|
rev = "527aa86b578da5dfb9cf4510b71f0f46a11249f7";
|
|
|
|
owner = "m-labs";
|
2016-03-06 23:54:07 +08:00
|
|
|
repo = "llvm-or1k";
|
2018-08-16 00:33:52 +08:00
|
|
|
sha256 = "0lmcg9xj66pf4mb6racipw67vm8kwm84dl861hyqnywd61kvhrwa";
|
2016-03-06 23:54:07 +08:00
|
|
|
};
|
|
|
|
in
|
|
|
|
runCommand "llvm_or1k_src" {}''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -r ${llvm-src}/* $out/
|
|
|
|
''
|