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
58
58
cp $SHLIBS $BUILD_DIR /debian/
59
59
fi
60
60
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)
62
64
if [ ! -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"
64
66
fi
65
67
66
68
if [ -z " ${BRANCH_SUFFIX} " ]; then
Original file line number Diff line number Diff line change 127
127
if [ " ${ENABLE_ULT} " == " 0" ]; then
128
128
SKIP_UNIT_TESTS=" TRUE"
129
129
fi
130
+
131
+ if [ " ${TARGET_ARCH} " == " aarch64" ]; then
132
+ SKIP_UNIT_TESTS=" TRUE"
133
+ export NEO_DISABLE_BUILTINS_COMPILATION=" TRUE"
134
+ fi
135
+
130
136
export SKIP_UNIT_TESTS
131
137
132
138
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
13
13
Homepage: https://github.com/intel/compute-runtime
14
14
15
15
Package: intel-opencl-icd
16
- Architecture: amd64
16
+ Architecture: amd64 arm64
17
17
Depends:
18
18
${shlibs:Depends},
19
19
${misc:Depends},
Original file line number Diff line number Diff line change 3
3
% :
4
4
dh $@ --builddir build/ --buildsystem=cmake+ninja
5
5
6
+ NEO_DISABLE_BUILTINS_COMPILATION ?= FALSE
7
+
6
8
override_dh_auto_configure :
7
9
dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
8
10
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
@@ -11,6 +13,7 @@ override_dh_auto_configure:
11
13
-DNEO_VERSION_BUILD=${NEO_OCL_VERSION_BUILD} \
12
14
-DDO_NOT_RUN_AUB_TESTS=${DO_NOT_RUN_AUB_TESTS} \
13
15
-DSKIP_UNIT_TESTS=${SKIP_UNIT_TESTS} \
16
+ -DNEO_DISABLE_BUILTINS_COMPILATION=${NEO_DISABLE_BUILTINS_COMPILATION} \
14
17
-DBUILD_WITH_L0=0 \
15
18
-DRELEASE_WITH_REGKEYS=1 \
16
19
-Wno-dev
You can’t perform that action at this time.
0 commit comments