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>
[ROCm/rocprofiler-compute commit: 31b4de1a38]
This commit is contained in:
@@ -37,29 +37,29 @@ jobs:
|
||||
cd build
|
||||
make package_source
|
||||
- name: Rename tarball
|
||||
run: mv build/omniperf-*.tar.gz build/omniperf-${{github.ref_name}}.tar.gz
|
||||
run: mv build/rocprofiler-compute-*.tar.gz build/rocprofiler-compute-${{github.ref_name}}.tar.gz
|
||||
- name: Archive tarball
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: omniperf-${{github.ref_name}}.tar.gz
|
||||
path: build/omniperf-${{github.ref_name}}.tar.gz
|
||||
name: rocprofiler-compute-${{github.ref_name}}.tar.gz
|
||||
path: build/rocprofiler-compute-${{github.ref_name}}.tar.gz
|
||||
- name: Set version
|
||||
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
|
||||
- name: Determine release name
|
||||
run: |
|
||||
if [[ ${{github.ref_name}} == rocm-* ]]; then
|
||||
echo "RELEASE_NAME=Omniperf ${{ env.VERSION }} for ${{github.ref_name}}"
|
||||
echo "RELEASE_NAME=rocprofiler-compute ${{ env.VERSION }} for ${{github.ref_name}}"
|
||||
else
|
||||
echo "RELEASE_NAME=Omniperf ${{ env.VERSION }}"
|
||||
echo "RELEASE_NAME=rocprofiler-compute ${{ env.VERSION }}"
|
||||
fi >> $GITHUB_ENV
|
||||
- name: Upload tarball Release Asset
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'ROCm/omniperf'
|
||||
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'ROCm/rocprofiler-compute'
|
||||
with:
|
||||
fail_on_unmatched: True
|
||||
generate_release_notes: True
|
||||
draft: False # toggle for debugging
|
||||
files: |
|
||||
build/omniperf-${{github.ref_name}}.tar.gz
|
||||
build/rocprofiler-compute-${{github.ref_name}}.tar.gz
|
||||
name: ${{ env.RELEASE_NAME }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user