aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/openmp/.yandex_meta/override.nix
blob: 64b4741ad4ab2553599f5f77153cc70c9d01b48f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgs: attrs: with pkgs; with attrs; rec {
  pname = "openmp";
  version = "15.0.7";

  src = fetchFromGitHub {
    owner = "llvm";
    repo = "llvm-project";
    rev = "llvmorg-${version}";
    hash = "sha256-wjuZQyXQ/jsmvy6y1aksCcEDXGBjuhpgngF3XQJ/T4s=";
  };

  # This hack makes message-converter.pl script to not emit time on every build.
  preConfigure = ''
    substituteInPlace "runtime/tools/message-converter.pl" --replace "\" on \" . localtime() . " ""
  '';

  sourceRoot = "source/openmp";
}