[commit: ghc] master: mk/config.mk.in: enable SMP on ARMv7+ (Trac #12981) (52c5e55)
git at git.haskell.org
git at git.haskell.org
Thu Dec 15 09:08:29 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/52c5e55348170f27f5ef1cb010c4c96ab4aa47cc/ghc
>---------------------------------------------------------------
commit 52c5e55348170f27f5ef1cb010c4c96ab4aa47cc
Author: Sergei Trofimovich <siarheit at google.com>
Date: Thu Dec 15 09:02:50 2016 +0000
mk/config.mk.in: enable SMP on ARMv7+ (Trac #12981)
Before the change result of expression
ArchSupportsSMP="$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)"
to evaluate to
ArchSupportsSMP="YES"
After the change it's
ArchSupportsSMP=YES
Thanks to orion for the fix!
Fixes Trac #12981
Signed-off-by: Sergei Trofimovich <siarheit at google.com>
>---------------------------------------------------------------
52c5e55348170f27f5ef1cb010c4c96ab4aa47cc
mk/config.mk.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 35c492f..06c12bf 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -187,7 +187,7 @@ HaveLibDL = @HaveLibDL@
# includes/stg/SMP.h
ifeq "$(TargetArch_CPP)" "arm"
# We don't support load/store barriers pre-ARMv7. See #10433.
-ArchSupportsSMP="$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)"
+ArchSupportsSMP=$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)
else
ArchSupportsSMP=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 sparc powerpc powerpc64 powerpc64le aarch64)))
endif
More information about the ghc-commits
mailing list