27 lines
524 B
Nix
27 lines
524 B
Nix
|
{ stdenv
|
||
|
, fetch
|
||
|
, cmake
|
||
|
, llvm
|
||
|
, perl
|
||
|
, version
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
pname = "openmp";
|
||
|
inherit version;
|
||
|
|
||
|
src = fetch "openmp" "1dg53wzsci2kra8lh1y0chh60h2l8h1by93br5spzvzlxshkmrqy";
|
||
|
|
||
|
nativeBuildInputs = [ cmake perl ];
|
||
|
buildInputs = [ llvm ];
|
||
|
|
||
|
enableParallelBuilding = true;
|
||
|
|
||
|
meta = {
|
||
|
description = "Components required to build an executable OpenMP program";
|
||
|
homepage = "https://openmp.llvm.org/";
|
||
|
license = stdenv.lib.licenses.mit;
|
||
|
platforms = stdenv.lib.platforms.all;
|
||
|
};
|
||
|
}
|