From 5c23af2c8e814b12c160d96c95b70539ba1fa816 Mon Sep 17 00:00:00 2001 From: Marya Date: Wed, 25 Oct 2023 00:30:42 +0100 Subject: [PATCH] update --- examples/technical_blogs/tartan_blog/build_and_run_networks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/technical_blogs/tartan_blog/build_and_run_networks.py b/examples/technical_blogs/tartan_blog/build_and_run_networks.py index 537cc0380..93b2e20cd 100644 --- a/examples/technical_blogs/tartan_blog/build_and_run_networks.py +++ b/examples/technical_blogs/tartan_blog/build_and_run_networks.py @@ -46,7 +46,7 @@ def parse_arguments(): def set_env_vars(args): os.environ["CMAKE_CXX_COMPILER"] = os.environ.get("CMAKE_CXX_COMPILER", os.path.join(args.oneapi_base_toolkit, "compiler", "linux", "bin-llvm", "clang++")) os.environ["CMAKE_C_COMPILER"] = os.environ.get("CMAKE_C_COMPILER", os.path.join(args.oneapi_base_toolkit, "compiler", "linux", "bin-llvm", "clang")) - os.environ["LD_LIBRARY_PATH"] = os.environ.get("LD_LIBRARY_PATH", f"{os.path.join(args.oneapi_base_toolkit, 'compiler', 'linux', 'lib')}:{os.path.join(args.oneapi_base_toolkit, 'compiler', 'linux', 'compiler', 'lib', 'intel64_lin')}:{os.environ.get('LD_LIBRARY_PATH', '')}") + os.environ["LD_LIBRARY_PATH"] = f"{os.path.join(args.oneapi_base_toolkit, 'compiler', 'linux', 'lib')}:{os.path.join(args.oneapi_base_toolkit, 'compiler', 'linux', 'compiler', 'lib', 'intel64_lin')}:{os.environ.get('LD_LIBRARY_PATH', '')}" os.environ["OCL_ICD_FILENAMES"] = os.environ.get("OCL_ICD_FILENAMES", os.path.join(args.oneapi_construction_kit_build_dir, 'lib', 'libCL.so'))