Skip to content

Commit

Permalink
Add FileCheck for LLVM lit
Browse files Browse the repository at this point in the history
  • Loading branch information
supersven committed Apr 18, 2023
1 parent f81cce1 commit 03abaf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ghc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ let
ps = if crossTarget == null then pkgs else pkgs-cross.buildPackages;
in
if lib.versionAtLeast version "9.1"
then ps.llvm_12
else ps.llvm_9;
then ps.llvmPackages_12
else ps.llvmPackages_9;

stdenv =
if useClang
Expand Down Expand Up @@ -117,7 +117,7 @@ let
hlint
]
++ docsPackages
++ optional withLlvm llvmForGhc
++ optional withLlvm llvmForGhc.llvm
++ optional withGrind valgrind
++ optional withEMSDK emscripten
++ optional withNuma numactl
Expand All @@ -126,7 +126,7 @@ let
++ optional withIde (pkgs-unstable.haskell-language-server.override { supportedGhcVersions = [ (builtins.replaceStrings [ "." ] [ "" ] ghc.version) ]; })
++ optional withIde clang-tools # N.B. clang-tools for clangd
++ optional withDtrace linuxPackages.systemtap
++ optional withLlvmLit lit
++ optionals withLlvmLit [ lit llvmForGhc.libllvm ]
++ optional withQEMU qemu
++ (if (! stdenv.isDarwin)
then [ pxz ]
Expand Down

0 comments on commit 03abaf2

Please sign in to comment.