diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-23 08:33:07 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-23 08:33:07 -0500 |
commit | 5c04655d817a0db55793f02c61a6d46f75c3fffe (patch) | |
tree | 661e0bf6b0ea057af5c5f91106df7a6963ed72fc /pcr | |
parent | a014c6516881f03ad1fc82440d0b8958ef0df59f (diff) | |
download | abslibre-5c04655d817a0db55793f02c61a6d46f75c3fffe.tar.gz abslibre-5c04655d817a0db55793f02c61a6d46f75c3fffe.tar.bz2 abslibre-5c04655d817a0db55793f02c61a6d46f75c3fffe.zip |
shogun: SSE only x86_64
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/shogun/PKGBUILD | 6 |
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() { |