[commit: ghc] ghc-8.0: Build system: temp solution for parallelisation bug (#11960) (13ae3e4)

git at git.haskell.org git at git.haskell.org
Wed Aug 24 00:22:43 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/13ae3e4ae2101f63a6919d983941b09943511310/ghc

>---------------------------------------------------------------

commit 13ae3e4ae2101f63a6919d983941b09943511310
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Sun May 22 10:14:44 2016 +0200

    Build system: temp solution for parallelisation bug (#11960)
    
    (cherry picked from commit c81e7b2014e284774eecf5e48e42aab31892cec1)


>---------------------------------------------------------------

13ae3e4ae2101f63a6919d983941b09943511310
 libffi/ghc.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 404cce9..7c5bc9e 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -111,7 +111,8 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
 	"$(TOUCH_CMD)" $@
 
 $(libffi_STAMP_BUILD): $(libffi_STAMP_CONFIGURE) $(TOUCH_DEP)
-	$(MAKE) -C libffi/build MAKEFLAGS=
+	# Use 'sync' as a temporary solution for #11960 (parallelisation bug).
+	sync; $(MAKE) -C libffi/build MAKEFLAGS=
 	"$(TOUCH_CMD)" $@
 
 $(libffi_STAMP_INSTALL): $(libffi_STAMP_BUILD) $(TOUCH_DEP)



More information about the ghc-commits mailing list