2019-09-19 20:19:41 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetch
|
|
|
|
, cmake
|
|
|
|
, llvm
|
|
|
|
, perl
|
|
|
|
, version
|
|
|
|
}:
|
|
|
|
|
2019-09-19 20:24:37 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-09-19 20:19:41 +02:00
|
|
|
pname = "openmp";
|
|
|
|
inherit version;
|
|
|
|
|
2019-12-31 21:53:24 +01:00
|
|
|
src = fetch pname "1knafnpp0f7hylx8q20lkd6g1sf0flly572dayc5d5kghh7hd52w";
|
2019-09-19 20:19:41 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake perl ];
|
|
|
|
buildInputs = [ llvm ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Components required to build an executable OpenMP program";
|
2020-04-13 18:50:35 +02:00
|
|
|
homepage = "https://openmp.llvm.org/";
|
2019-09-19 20:19:41 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|