cffb7cfbf7
https://lists.llvm.org/pipermail/release-testers/2020-October/001377.html https://lists.llvm.org/pipermail/llvm-announce/2020-October/000089.html Fixes: - builds on Darwin - builds `libcxx` on Linux
27 lines
525 B
Nix
27 lines
525 B
Nix
{ stdenv
|
|
, fetch
|
|
, cmake
|
|
, llvm
|
|
, perl
|
|
, version
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "openmp";
|
|
inherit version;
|
|
|
|
src = fetch pname "0k389d0g9zlfyzh1kpb3i5jdawzpn0hrdxzbjinpvdv7rbw4sw1d";
|
|
|
|
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;
|
|
};
|
|
}
|