[commit: ghc] master: Build system: temp solution for parallelisation bug (#11960) (c81e7b2)

git at git.haskell.org git at git.haskell.org
Sun May 22 08:12:11 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c81e7b2014e284774eecf5e48e42aab31892cec1/ghc

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

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

    Build system: temp solution for parallelisation bug (#11960)


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

c81e7b2014e284774eecf5e48e42aab31892cec1
 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