26 lines
512 B
Nix
26 lines
512 B
Nix
{ stdenv
|
|
, fetch
|
|
, cmake
|
|
, llvm
|
|
, perl
|
|
, version
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "openmp-${version}";
|
|
|
|
src = fetch "openmp" "1mf9cpgvix34xlpv0inkgl3qmdvgvp96f7sksqizri0n5xfp1cgp";
|
|
|
|
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;
|
|
};
|
|
}
|