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

26 lines
512 B
Nix
Raw Normal View History

2018-01-31 15:09:24 +01:00
{ stdenv
, fetch
, cmake
, llvm
, perl
, version
}:
stdenv.mkDerivation {
name = "openmp-${version}";
2018-06-28 22:58:05 +02:00
src = fetch "openmp" "0nhwfba9c351r16zgyjyfwdayr98nairky3c2f0b2lc360mwmbv6";
2018-01-31 15:09:24 +01: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;
};
}