gnu: gemmlowp-for-tensorflow: Use SSE2.

* gnu/packages/machine-learning.scm (gemmlowp-for-tensorflow)[arguments]: Only
enable SSE2, not SSE4.1 on i686 and x86_64 architectures.
This commit is contained in:
Ricardo Wurmus 2019-06-18 15:57:43 +02:00 committed by Ricardo Wurmus
parent 55dae98f73
commit a32e3b9078
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -668,7 +668,7 @@ (define-public gemmlowp-for-tensorflow
`(#:configure-flags
(list ,@(match (%current-system)
((or "x86_64-linux" "i686-linux")
'("-DCMAKE_CXX_FLAGS=-msse4.1"))
'("-DCMAKE_CXX_FLAGS=-msse2"))
(_ '())))
#:phases
(modify-phases %standard-phases