nixpkgs/pkgs/development/compilers/llvm/5/openmp.nix

26 lines
512 B
Nix
Raw Normal View History

2017-09-16 00:38:38 +00:00
{ stdenv
, fetch
, cmake
, llvm
, perl
, version
}:
stdenv.mkDerivation {
name = "openmp-${version}";
2018-05-04 15:54:06 +00:00
src = fetch "openmp" "0p2n52676wlq6y9q99n5pivq6pvvda1p994r69fxj206ahn59jir";
2017-09-16 00:38:38 +00:00
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = http://openmp.llvm.org/;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
};
}