File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed
Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ if [ -f "${SHLIBS}" ]; then
5858 cp $SHLIBS $BUILD_DIR /debian/
5959fi
6060
61- LEVEL_ZERO_DEVEL_VERSION=$( apt-cache policy level-zero-devel | grep Installed | cut -f2- -d ' :' | xargs)
61+ LEVEL_ZERO_DEVEL_NAME=${LEVEL_ZERO_DEVEL_NAME:- level-zero-devel}
62+
63+ LEVEL_ZERO_DEVEL_VERSION=$( apt-cache policy ${LEVEL_ZERO_DEVEL_NAME} | grep Installed | cut -f2- -d ' :' | xargs)
6264if [ ! -z " ${LEVEL_ZERO_DEVEL_VERSION} " ]; then
63- perl -pi -e " s/^ level-zero-devel(?=,|$)/ level-zero-devel (=$LEVEL_ZERO_DEVEL_VERSION )/" " $BUILD_DIR /debian/control"
65+ perl -pi -e " s/^ level-zero-devel(?=,|$)/ ${LEVEL_ZERO_DEVEL_NAME} (=$LEVEL_ZERO_DEVEL_VERSION )/" " $BUILD_DIR /debian/control"
6466fi
6567
6668if [ -z " ${BRANCH_SUFFIX} " ]; then
Original file line number Diff line number Diff line change 127127 if [ " ${ENABLE_ULT} " == " 0" ]; then
128128 SKIP_UNIT_TESTS=" TRUE"
129129 fi
130+
131+ if [ " ${TARGET_ARCH} " == " aarch64" ]; then
132+ SKIP_UNIT_TESTS=" TRUE"
133+ export NEO_DISABLE_BUILTINS_COMPILATION=" TRUE"
134+ fi
135+
130136 export SKIP_UNIT_TESTS
131137
132138 dch -v ${PKG_VERSION} -m " build $PKG_VERSION " -b
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Standards-Version: 4.3.0
1313Homepage: https://github.com/intel/compute-runtime
1414
1515Package: intel-opencl-icd
16- Architecture: amd64
16+ Architecture: amd64 arm64
1717Depends:
1818 ${shlibs:Depends},
1919 ${misc:Depends},
Original file line number Diff line number Diff line change 33% :
44 dh $@ --builddir build/ --buildsystem=cmake+ninja
55
6+ NEO_DISABLE_BUILTINS_COMPILATION ?= FALSE
7+
68override_dh_auto_configure :
79 dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
810 -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
@@ -11,6 +13,7 @@ override_dh_auto_configure:
1113 -DNEO_VERSION_BUILD=${NEO_OCL_VERSION_BUILD} \
1214 -DDO_NOT_RUN_AUB_TESTS=${DO_NOT_RUN_AUB_TESTS} \
1315 -DSKIP_UNIT_TESTS=${SKIP_UNIT_TESTS} \
16+ -DNEO_DISABLE_BUILTINS_COMPILATION=${NEO_DISABLE_BUILTINS_COMPILATION} \
1417 -DBUILD_WITH_L0=0 \
1518 -DRELEASE_WITH_REGKEYS=1 \
1619 -Wno-dev
You can’t perform that action at this time.
0 commit comments