cmake: cleanup variable names

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2021-11-10 10:34:06 +00:00
committed by Compute-Runtime-Automation
parent b8a03cdea1
commit ea373d2664
26 changed files with 59 additions and 55 deletions

View File

@@ -12,7 +12,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPO_DIR="$( cd "$( dirname "${DIR}/../../../../" )" && pwd )"
BUILD_DIR="${REPO_DIR}/../build_opencl"
SKIP_UNIT_TESTS=${SKIP_UNIT_TESTS:-FALSE}
NEO_SKIP_UNIT_TESTS=${NEO_SKIP_UNIT_TESTS:-FALSE}
BRANCH_SUFFIX="$( cat ${REPO_DIR}/.branch )"
@@ -103,15 +103,15 @@ EOF
export DH_INTERNAL_BUILDFLAGS=1
fi
if [ "${ENABLE_ULT}" == "0" ]; then
SKIP_UNIT_TESTS="TRUE"
NEO_SKIP_UNIT_TESTS="TRUE"
fi
if [ "${TARGET_ARCH}" == "aarch64" ]; then
SKIP_UNIT_TESTS="TRUE"
NEO_SKIP_UNIT_TESTS="TRUE"
export NEO_DISABLE_BUILTINS_COMPILATION="TRUE"
fi
export SKIP_UNIT_TESTS
export NEO_SKIP_UNIT_TESTS
dch -v ${PKG_VERSION} -m "build $PKG_VERSION" -b
dpkg-buildpackage -j`nproc --all` -us -uc -b -rfakeroot

View File

@@ -45,7 +45,7 @@ cd build
-DNEO_VERSION_BUILD=%{ver} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_WITH_L0=0 \
-DSKIP_UNIT_TESTS=1 \
-DNEO_SKIP_UNIT_TESTS=TRUE \
-DCMAKE_INSTALL_PREFIX=/usr \
-DRELEASE_WITH_REGKEYS=1
%make_build

View File

@@ -54,7 +54,7 @@ Summary: ocloc package for opencl
-DNEO_VERSION_BUILD=%{ver} \
-DBUILD_WITH_L0=0 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSKIP_UNIT_TESTS=1 \
-DNEO_SKIP_UNIT_TESTS=TRUE \
-DRELEASE_WITH_REGKEYS=1 \
-Wno-dev
%make_build

View File

@@ -14,7 +14,7 @@ override_dh_auto_configure:
-DNEO_OCL_VERSION_MINOR=${NEO_OCL_VERSION_MINOR} \
-DNEO_VERSION_BUILD=${NEO_OCL_VERSION_BUILD} \
-DDO_NOT_RUN_AUB_TESTS=${DO_NOT_RUN_AUB_TESTS} \
-DSKIP_UNIT_TESTS=${SKIP_UNIT_TESTS} \
-DNEO_SKIP_UNIT_TESTS=${NEO_SKIP_UNIT_TESTS} \
-DNEO_DISABLE_BUILTINS_COMPILATION=${NEO_DISABLE_BUILTINS_COMPILATION} \
-DBUILD_WITH_L0=0 \
-DRELEASE_WITH_REGKEYS=${RELEASE_WITH_REGKEYS} \