override.nix 504 B

123456789101112131415161718
  1. pkgs: attrs: with pkgs; with attrs; rec {
  2. pname = "openmp";
  3. version = "15.0.7";
  4. src = fetchFromGitHub {
  5. owner = "llvm";
  6. repo = "llvm-project";
  7. rev = "llvmorg-${version}";
  8. hash = "sha256-wjuZQyXQ/jsmvy6y1aksCcEDXGBjuhpgngF3XQJ/T4s=";
  9. };
  10. # This hack makes message-converter.pl script to not emit time on every build.
  11. preConfigure = ''
  12. substituteInPlace "runtime/tools/message-converter.pl" --replace "\" on \" . localtime() . " ""
  13. '';
  14. sourceRoot = "source/openmp";
  15. }