forked from M-Labs/artiq
1
0
Fork 0

nix: add Clang back

This commit is contained in:
Sebastien Bourdeauducq 2018-08-16 13:03:55 +08:00
parent 2c55f2ce4b
commit 4155853482
1 changed files with 8 additions and 0 deletions

View File

@ -7,8 +7,16 @@ llvm-src = fetchFromGitHub {
repo = "llvm-or1k"; repo = "llvm-or1k";
sha256 = "0lmcg9xj66pf4mb6racipw67vm8kwm84dl861hyqnywd61kvhrwa"; sha256 = "0lmcg9xj66pf4mb6racipw67vm8kwm84dl861hyqnywd61kvhrwa";
}; };
clang-src = fetchFromGitHub {
rev = "9e996136d52ed506ed8f57ef8b13b0f0f735e6a3";
owner = "m-labs";
repo = "clang-or1k";
sha256 = "0w5f450i76y162aswi2c7jip8x3arzljaxhbqp8qfdffm0rdbjp4";
};
in in
runCommand "llvm_or1k_src" {}'' runCommand "llvm_or1k_src" {}''
mkdir -p $out mkdir -p $out
mkdir -p $out/tools/clang
cp -r ${llvm-src}/* $out/ cp -r ${llvm-src}/* $out/
cp -r ${clang-src}/* $out/tools/clang
'' ''