mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/opencv to 3.3.1-2
This commit is contained in:
parent
1da3c0c12c
commit
7b3f657540
1 changed files with 3 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
pkgbase=opencv
|
pkgbase=opencv
|
||||||
pkgname=('opencv' 'opencv-samples')
|
pkgname=('opencv' 'opencv-samples')
|
||||||
pkgver=3.3.1
|
pkgver=3.3.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Open Source Computer Vision Library"
|
pkgdesc="Open Source Computer Vision Library"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
|
@ -47,10 +47,8 @@ _cmakeopts=('-D WITH_OPENCL=ON'
|
||||||
)
|
)
|
||||||
|
|
||||||
# SSE only available from Pentium 3 onwards (i686 is way older)
|
# SSE only available from Pentium 3 onwards (i686 is way older)
|
||||||
[[ "$CARCH" = 'i686' ]] && \
|
[[ "$CARCH" = 'i686' ]] && _cmakeopts+=('-D CPU_BASELINE_DISABLE=SSE2')
|
||||||
_cmakeopts+=('-D ENABLE_SSE=OFF'
|
[[ "$CARCH" = 'x86_64' ]] && _cmakeopts+=('-D CPU_BASELINE_DISABLE=SSE3 -D CPU_BASELINE_REQUIRE=SSE2')
|
||||||
'-D ENABLE_SSE2=OFF'
|
|
||||||
'-D ENABLE_SSE3=OFF')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
|
Loading…
Reference in a new issue