Bug#1081069: ghc: Don't do tests on crossbuild
Samuel Thibault
sthibault at debian.org
Mon Sep 9 17:05:37 BST 2024
Samuel Thibault, le sam. 07 sept. 2024 23:05:09 +0200, a ecrit:
> --- debian/rules.original 2024-09-07 23:04:14.489645147 +0200
> +++ debian/rules 2024-09-07 23:04:15.401631651 +0200
> @@ -165,6 +165,7 @@
>
> override_dh_auto_test:
> ifeq (NO,$(BUILD_CROSS))
> +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
> # Do some very simple tests that the compiler actually works
> rm -rf debian/testghc
> mkdir debian/testghc
> @@ -180,6 +181,7 @@
> @inplace/bin/ghc-stage2 --info
> @printf "====END GHC INFO OUTPUT====\n"
> endif
> +endif
>
> FILES = \( -type f -o -type l \)
> PROF_FILE = \( -name "*.p_*" -o -name "lib*_p.a" \)
Sorry, I produced the patch after-the-fact, and got it wrong: of course
it's the
ifeq (NO,$(BUILD_CROSS))
part that should be added.
Samuel
More information about the Pkg-haskell-maintainers
mailing list