summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-04-24 08:22:20 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2020-04-24 08:22:20 +0800
commit9f65fd57fea1470ed138f323a7e268d02c8ab198 (patch)
tree77e1ffcd3b2a11f170773b138dd60a256eb76868
parent9e4503ae042a5e7cdd1efbbce8f1fa97282e977d (diff)
downloadmeta-intel-9f65fd57fea1470ed138f323a7e268d02c8ab198.tar.gz
onednn: add CMAKE_SKIP_RPATH
dunfell has a change in cmake class that forces cmake to use relative RPATHs but when this recipe is used with zeus, we'd need to explicitly make sure that binaries don't have absolute paths. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb
index 8ad98c90..bf452890 100644
--- a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb
+++ b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb
@@ -35,6 +35,7 @@ EXTRA_OECMAKE += " \
35 -DDNNL_BUILD_TESTS=ON \ 35 -DDNNL_BUILD_TESTS=ON \
36 -DDNNL_CPU_RUNTIME=OMP \ 36 -DDNNL_CPU_RUNTIME=OMP \
37 -DDNNL_ARCH_OPT_FLAGS="" \ 37 -DDNNL_ARCH_OPT_FLAGS="" \
38 -DCMAKE_SKIP_RPATH=ON \
38 " 39 "
39 40
40PACKAGECONFIG ??= "" 41PACKAGECONFIG ??= ""