Skip to content

Commit

Permalink
Update CMake project name to rocprofsys.
Browse files Browse the repository at this point in the history
The ${PROJECT_NAME} is used throughout for output paths and as a token in templates.

Using "rocprofsys" rather than "rocprof-sys" because the dash won't work for variable names (like: rocprofsys_DIR).
  • Loading branch information
dgaliffiAMD committed Sep 26, 2024
1 parent 2b2c788 commit a3b57b6
Show file tree
Hide file tree
Showing 71 changed files with 679 additions and 677 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
shell: bash
run: |
set -v
source /opt/omnitrace/share/omnitrace/setup-env.sh
source /opt/omnitrace/share/rocprofsys/setup-env.sh
./scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,rewrite,runtime,python}=1
- name: Test User API
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ubuntu-focal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
source /usr/share/modules/init/$(basename ${SHELL})
module use ./share/modulefiles
module avail
module load omnitrace
module load rocprofsys
echo $(which rocprof-sys-instrument)
ldd $(which rocprof-sys-instrument)
rocprof-sys-instrument --help
Expand All @@ -179,7 +179,7 @@ jobs:
shell: bash
run: |
cd build
source ./share/omnitrace/setup-env.sh
source ./share/rocprofsys/setup-env.sh
echo $(which rocprof-sys-instrument)
ldd $(which rocprof-sys-instrument)
rocprof-sys-instrument --help
Expand All @@ -198,7 +198,7 @@ jobs:
source /usr/share/modules/init/$(basename ${SHELL})
module use /opt/omnitrace/share/modulefiles
module avail
module load omnitrace
module load rocprofsys
./scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,rewrite,runtime}=1 --test-rocprof-sys-python=${{ matrix.python }}
- name: Test User API
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
timeout-minutes: 15
shell: bash
run: |
source /opt/omnitrace/share/omnitrace/setup-env.sh
source /opt/omnitrace/share/rocprofsys/setup-env.sh
./scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,python,rewrite,runtime}=1
- name: Test User API
Expand Down Expand Up @@ -502,13 +502,13 @@ jobs:
source /usr/share/modules/init/$(basename ${SHELL})
module use ${{ github.workspace }}/build/share/modulefiles
module avail
module load omnitrace
module load rocprofsys
module list
env
module unload omnitrace
module unload rocprofsys
module list
env
source ${{ github.workspace }}/build/share/omnitrace/setup-env.sh
source ${{ github.workspace }}/build/share/rocprofsys/setup-env.sh
env

- name: Install
Expand All @@ -522,7 +522,7 @@ jobs:
timeout-minutes: 15
run: |
set -v
source /opt/omnitrace/share/omnitrace/setup-env.sh
source /opt/omnitrace/share/rocprofsys/setup-env.sh
${{ github.workspace }}/scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,python,rewrite,runtime}=1
- name: Test Install with Modulefile
Expand All @@ -531,7 +531,7 @@ jobs:
set -v
source /usr/share/modules/init/$(basename ${SHELL})
module use /opt/omnitrace/share/modulefiles
module load omnitrace
module load rocprofsys
${{ github.workspace }}/scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,python,rewrite,runtime}=1
- name: Test User API
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif()
if(NOT UNIX OR APPLE)
message(
AUTHOR_WARNING
"omnitrace only supports Linux. Configure and/or build is likely to fail")
"rocprofsys only supports Linux. Configure and/or build is likely to fail")
endif()

file(READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" FULL_VERSION_STRING LIMIT_COUNT 1)
Expand All @@ -21,11 +21,11 @@ string(REGEX REPLACE "([0-9]+)\.([0-9]+)\.([0-9]+)(.*)" "\\1.\\2.\\3" OMNITRACE_
"${FULL_VERSION_STRING}")

project(
omnitrace
rocprofsys
LANGUAGES C CXX
VERSION ${OMNITRACE_VERSION}
DESCRIPTION "CPU/GPU Application tracing with static/dynamic binary instrumentation"
HOMEPAGE_URL "https://github.com/ROCm/omnitrace")
HOMEPAGE_URL "https://github.com/ROCm/rocprofiler-systems")

find_package(Git)

Expand Down
Loading

0 comments on commit a3b57b6

Please sign in to comment.