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