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 5c23af2 commit 8da4be7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def clone_git_repository(repo_url, destination_directory):

# Build portBLAS
def build_portBLAS(args):
# os.environ["CC"] = "/home/runner/work/oneapi-construction-kit/oneapi-construction-kit/linux_nightly_release/compiler/linux/bin-llvm/clang"#os.path.join(args.oneapi_base_toolkit, "compiler", "linux", "bin-llvm", "clang")
#os.environ["CXX"] = "/home/runner/work/oneapi-construction-kit/oneapi-construction-kit/linux_nightly_release/compiler/linux/bin-llvm/clang++"#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', 'intel64_lin')}:{os.environ.get('LD_LIBRARY_PATH', '')}")
os.environ["CC"] = os.environ["CMAKE_C_COMPILER"]#"/home/runner/work/oneapi-construction-kit/oneapi-construction-kit/linux_nightly_release/compiler/linux/bin-llvm/clang"#os.path.join(args.oneapi_base_toolkit, "compiler", "linux", "bin-llvm", "clang")
os.environ["CXX"] = os.environ["CMAKE_CXX_COMPILER"]#"/home/runner/work/oneapi-construction-kit/oneapi-construction-kit/linux_nightly_release/compiler/linux/bin-llvm/clang++"#os.path.join(args.oneapi_base_toolkit, "compiler", "linux", "bin-llvm", "clang++")

print(f"LD_LIBRARY_PATH: {os.environ['LD_LIBRARY_PATH']}")
script_directory = os.getcwd()
portBlas_build_dir = os.path.join(script_directory, "build_portBlas")
Expand Down

0 comments on commit 8da4be7

Please sign in to comment.