2019-09-19 19:19:41 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetch
|
|
|
|
, cmake
|
|
|
|
, llvm
|
|
|
|
, perl
|
|
|
|
, version
|
|
|
|
}:
|
|
|
|
|
2019-09-19 19:24:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-09-19 19:19:41 +01:00
|
|
|
pname = "openmp";
|
|
|
|
inherit version;
|
|
|
|
|
2019-09-19 19:24:37 +01:00
|
|
|
src = fetch pname "0nrv9np134b7c483jnq786spy3hbpj11d7g21g67cqq66c8ynycr";
|
2019-09-19 19:19:41 +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;
|
|
|
|
};
|
|
|
|
}
|