Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryaSharf committed Oct 24, 2023
1 parent d09a02b commit 7ed809b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = 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["OCL_ICD_FILENAMES"] = os.environ.get("OCL_ICD_FILENAMES", os.path.join(args.oneapi_construction_kit_build_dir, 'lib', 'libCL.so'))


Expand Down

0 comments on commit 7ed809b

Please sign in to comment.