Skip to content

Commit 9eb7a50

Browse files
committed
fix issue library path is reset due to set u
Signed-off-by: jiseong.oh <[email protected]>
1 parent b4ce9f3 commit 9eb7a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/scripts/setup-samsung-linux-deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ download_ai_lite_core() {
2626
tar -C "${_exynos_lite_core_dir}" --strip-components=1 -xzvf "${_tmp_archive}"
2727

2828
export EXYNOS_AI_LITECORE_ROOT=${_exynos_lite_core_dir}
29-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EXYNOS_AI_LITECORE_ROOT}/lib/x86_64-linux
29+
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-}:${EXYNOS_AI_LITECORE_ROOT}/lib/x86_64-linux
3030
}
3131

3232
install_enn_backend() {
@@ -35,7 +35,7 @@ install_enn_backend() {
3535

3636
# Remove --build and add --ndk parameter if enable on-device test
3737
bash backends/samsung/build.sh --build x86_64
38-
export PYTHONPATH=${PYTHONPATH}:${EXECUTORCH_ROOT}/..
38+
export PYTHONPATH=${PYTHONPATH:-}:${EXECUTORCH_ROOT}/..
3939
}
4040

4141
AI_LITE_CORE_VERSION=0.5.0

0 commit comments

Comments
 (0)