Skip to content
  • Iustin Pop's avatar
    Update time on Haskell binaries after build · 70b6c284
    Iustin Pop authored
    
    
    This patch works around an issue in our build system. Since we don't
    use cabal or 'ghc -M', we don't track actual dependencies in our
    Makefile; this in turn means that editing a file that only is used in
    the main 'htools' binary will keep triggering 'ghc --make' for the
    hconfd binary; and this actually takes a bit of time to look at all
    the dependencies.
    
    So to work around this, we add a touch after each ghc --make, such
    that we trigger the unneeded build at most once.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
    70b6c284