Commit 49ec969b authored by Yeongrok Gim's avatar Yeongrok Gim
Browse files

fix cuda_gdb for libexpat.so.1 on aarch64

parent 341ef0e8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -156,13 +156,17 @@ filterAndCreateOverrides {
    {
      cudaAtLeast,
      gmp,
      expat,
      stdenv,
      lib,
    }:
    prevAttrs: {
      buildInputs =
        prevAttrs.buildInputs
        # x86_64 only needs gmp from 12.0 and on
        ++ lib.lists.optionals (cudaAtLeast "12.0") [ gmp ];
        ++ lib.lists.optionals (cudaAtLeast "12.0") [ gmp ]
        # aarch64,sbsa needs expat
        ++ lib.lists.optionals (stdenv.hostPlatform.isAarch64) [ expat ];
    };

  cuda_nvcc =