lol
1{ lib
2, stdenv
3, llvm_meta
4, fetch
5, cmake
6, llvm
7, perl
8, version
9}:
10
11stdenv.mkDerivation {
12 pname = "openmp";
13 inherit version;
14
15 src = fetch "openmp" "1dg53wzsci2kra8lh1y0chh60h2l8h1by93br5spzvzlxshkmrqy";
16
17 nativeBuildInputs = [ cmake perl ];
18 buildInputs = [ llvm ];
19
20 meta = llvm_meta // {
21 homepage = "https://openmp.llvm.org/";
22 description = "Support for the OpenMP language";
23 longDescription = ''
24 The OpenMP subproject of LLVM contains the components required to build an
25 executable OpenMP program that are outside the compiler itself.
26 Contains the code for the runtime library against which code compiled by
27 "clang -fopenmp" must be linked before it can run and the library that
28 supports offload to target devices.
29 '';
30 # "All of the code is dual licensed under the MIT license and the UIUC
31 # License (a BSD-like license)":
32 license = with lib.licenses; [ mit ncsa ];
33 };
34}