Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion build_tools/build_python_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ def run(args: argparse.Namespace):
PopulatedDistPackage(params, logical_name="meta")

# Populate each target neutral library package.
core = PopulatedDistPackage(params, logical_name="core").populate_runtime_files(
core = PopulatedDistPackage(params, logical_name="core")
core.rpath_dep(core, "lib/llvm/lib")
core.populate_runtime_files(
params.filter_artifacts(
core_artifact_filter,
# TODO: The base package is shoving CMake redirects into lib.
Expand Down Expand Up @@ -87,6 +89,7 @@ def core_artifact_filter(an: ArtifactName) -> bool:
"core-ocl",
"core-hipinfo",
"core-runtime",
"hipify",
"host-blas",
"host-suite-sparse",
"rocprofiler-sdk",
Expand Down
2 changes: 2 additions & 0 deletions build_tools/packaging/python/templates/rocm-sdk-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def import_dist_info():
"amdlld=rocm_sdk_core._cli:amdlld",
"hipcc=rocm_sdk_core._cli:hipcc",
"hipconfig=rocm_sdk_core._cli:hipconfig",
"hipify-clang=rocm_sdk_core._cli:hipify_clang",
"hipify-perl=rocm_sdk_core._cli:hipify_perl",
"offload-arch=rocm_sdk_core._cli:offload_arch",
"roc-obj=rocm_sdk_core._cli:roc_obj",
"roc-obj-extract=rocm_sdk_core._cli:roc_obj_extract",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ def hipconfig():
_exec("bin/hipconfig")


def hipify_clang():
_exec("bin/hipify-clang")


def hipify_perl():
_exec("bin/hipify-perl")


def hipInfo():
_exec("bin/hipInfo")

Expand Down
Loading