summaryrefslogtreecommitdiff
path: root/pcr/shogun
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-23 08:33:07 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-23 08:33:07 -0500
commit5c04655d817a0db55793f02c61a6d46f75c3fffe (patch)
tree661e0bf6b0ea057af5c5f91106df7a6963ed72fc /pcr/shogun
parenta014c6516881f03ad1fc82440d0b8958ef0df59f (diff)
shogun: SSE only x86_64
Diffstat (limited to 'pcr/shogun')
-rw-r--r--pcr/shogun/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/pcr/shogun/PKGBUILD b/pcr/shogun/PKGBUILD
index e3d67022d..89cc68a0d 100644
--- a/pcr/shogun/PKGBUILD
+++ b/pcr/shogun/PKGBUILD
@@ -15,7 +15,11 @@ md5sums=('57370e869f3b24f74ce9c7b8741000b0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DPythonModular=ON ..
+ DISABLE_SSE=
+ if [ "${CARCH}" != "x86_64" ]; then
+ DISABLE_SSE+="-DDISABLE_SSE=ON"
+ fi
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DPythonModular=ON ${DISABLE_SSE} ..
}
package() {