2018-09-18 21:19:58 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetch
|
|
|
|
, cmake
|
|
|
|
, llvm
|
|
|
|
, perl
|
|
|
|
, version
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "openmp";
|
|
|
|
inherit version;
|
2018-09-18 21:19:58 +02:00
|
|
|
|
2019-04-23 07:30:45 +02:00
|
|
|
src = fetch "openmp" "1dg53wzsci2kra8lh1y0chh60h2l8h1by93br5spzvzlxshkmrqy";
|
2018-09-18 21:19:58 +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/";
|
2018-09-18 21:19:58 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|