Rename Omniperf to ROCm Compute Profiler (#428)
- Update filenames. - Update executable to `rocprof-compute` - Update update package to `rocprofiler-compute` - Update name in application output and logs - Update name in README files - Update testing and workflows --------- Signed-off-by: Xuan Chen <xuchen@amd.com>
This commit is contained in:
+9
-9
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pyinstaller src/omniperf.py \
|
||||
--name "omniperf" \
|
||||
pyinstaller src/rocprofiler-compute.py \
|
||||
--name "rocprofiler-compute" \
|
||||
--add-data "src/perfmon_pub/*:perfmon_pub" \
|
||||
--add-data "src/utils/*:utils" \
|
||||
--add-data "src/soc_params/*.csv:soc_params" \
|
||||
--add-data "src/omniperf_analyze/*:omniperf_analyze" \
|
||||
--add-data "src/rocprof_compute_analyze/*:rocprof_compute_analyze" \
|
||||
--hidden-import matplotlib.backends.backend_pdf \
|
||||
${@}
|
||||
|
||||
@@ -53,14 +53,14 @@ echo "(build.sh) Loading dash_svg"
|
||||
# Take care of dash-svg module that isn't detected by PyInstaller
|
||||
dash_info=$(pip3 show dash_svg)
|
||||
dash_loc=$(sed -n '8p' <<<"$dash_info")
|
||||
cp -r ${dash_loc:10}/dash_svg "$distpath"/omniperf/
|
||||
cp -r ${dash_loc:10}/dash_svg "$distpath"/rocprofiler-compute/
|
||||
|
||||
echo "(build.sh) Fixing flattened directories"
|
||||
#TODO: Copy orig file structure from over to flattened packaged version
|
||||
rm -rf "$distpath"/omniperf/omniperf_analyze/
|
||||
cp -r src/omniperf_analyze/ "$distpath"/omniperf/
|
||||
rm -rf "$distpath"/rocprofiler-compute/rocprof_compute_analyze/
|
||||
cp -r src/rocprof_compute_analyze/ "$distpath"/rocprofiler-compute/
|
||||
|
||||
rm -rf "$distpath"/omniperf/perfmon_pub/
|
||||
cp -r src/perfmon_pub/ "$distpath"/omniperf/
|
||||
rm -rf "$distpath"/rocprofiler-compute/perfmon_pub/
|
||||
cp -r src/perfmon_pub/ "$distpath"/rocprofiler-compute/
|
||||
|
||||
rm -rf "$distpath"/omniperf/perfmon/
|
||||
rm -rf "$distpath"/rocprofiler-compute/perfmon/
|
||||
|
||||
Reference in New Issue
Block a user