2017-09-16 02:38:38 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetch
|
|
|
|
, cmake
|
|
|
|
, llvm
|
|
|
|
, perl
|
|
|
|
, version
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "openmp";
|
|
|
|
inherit version;
|
2017-09-16 02:38:38 +02:00
|
|
|
|
2018-05-04 17:54:06 +02:00
|
|
|
src = fetch "openmp" "0p2n52676wlq6y9q99n5pivq6pvvda1p994r69fxj206ahn59jir";
|
2017-09-16 02:38:38 +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/";
|
2017-09-16 02:38:38 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|