diff options
author | Daniel Bermond | 2024-05-04 12:54:24 -0300 |
---|---|---|
committer | Daniel Bermond | 2024-05-04 12:54:24 -0300 |
commit | d2afe16c0791a82593c324dc6687a94949fde2d2 (patch) | |
tree | 28fac1a5efce5036a107552c1f9740f4ef6ff5bf | |
parent | 89eae4c3bf67a63dad1805d539c7b83810beec27 (diff) | |
download | aur-d2afe16c0791a82593c324dc6687a94949fde2d2.tar.gz |
Disable specific isa instead of forcing a higher architecture level
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = openvino pkgdesc = A toolkit for developing artificial inteligence and deep learning applications pkgver = 2024.1.0 - pkgrel = 2 + pkgrel = 3 url = https://docs.openvinotoolkit.org/ arch = x86_64 license = Apache-2.0 @@ -5,7 +5,7 @@ pkgname=openvino pkgver=2024.1.0 -pkgrel=2 +pkgrel=3 pkgdesc='A toolkit for developing artificial inteligence and deep learning applications' arch=('x86_64') url='https://docs.openvinotoolkit.org/' @@ -123,15 +123,14 @@ prepare() { } build() { - export CFLAGS+=' -march=x86-64-v3' - export CXXFLAGS+=' -march=x86-64-v3' - # note: does not accept 'None' build type cmake -B build -S openvino \ -G 'Unix Makefiles' \ -DBUILD_TESTING:BOOL='OFF' \ -DCMAKE_BUILD_TYPE:STRING='Release' \ -DCMAKE_INSTALL_PREFIX:PATH='/opt/intel/openvino' \ + -DENABLE_SSE42:BOOL='OFF' \ + -DENABLE_AVX2:BOOL='OFF' \ -DENABLE_AVX512F:BOOL='OFF' \ -DENABLE_PYTHON:BOOL='ON' \ -DENABLE_CLANG_FORMAT:BOOL='OFF' \ |