clangbuildanalyzer: init at 1.5.0
This is a neat little package that lets you trace your clang builds and immediately find where all your build time went. In about half an hour, I knocked 15% of build time off a project by strategic header splitting.
This commit is contained in:
parent
65f4f042f9
commit
5878d1fe1a
1 changed files with 25 additions and 0 deletions
25
pkgs/by-name/cl/clangbuildanalyzer/package.nix
Normal file
25
pkgs/by-name/cl/clangbuildanalyzer/package.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, lib, cmake, fetchFromGitHub }:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clangbuildanalyzer";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aras-p";
|
||||
repo = "ClangBuildAnalyzer";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-kmgdk634zM0W0OoRoP/RzepArSipa5bNqdVgdZO9gxo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Tool for analyzing Clang's -ftime-trace files";
|
||||
homepage = "https://github.com/aras-p/ClangBuildAnalyzer";
|
||||
maintainers = with lib.maintainers; [ lf- ];
|
||||
license = lib.licenses.unlicense;
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "ClangBuildAnalyzer";
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue