Skip to content

Commit

Permalink
Rename package to rocprofiler-systems
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaliffiAMD committed Oct 9, 2024
1 parent 5af11f5 commit a38ef9a
Show file tree
Hide file tree
Showing 103 changed files with 1,326 additions and 1,203 deletions.
36 changes: 18 additions & 18 deletions .cmake-format.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parse:
additional_commands:
rocprof_sys_checkout_git_submodule:
rocprofiler_systems_checkout_git_submodule:
flags:
- RECURSIVE
kwargs:
Expand All @@ -10,15 +10,15 @@ parse:
REPO_URL: '*'
REPO_BRANCH: '*'
ADDITIONAL_COMMANDS: '*'
rocprof_sys_save_variables:
rocprofiler_systems_save_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
rocprof_sys_restore_variables:
rocprofiler_systems_restore_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
rocprof_sys_add_test:
rocprofiler_systems_add_test:
flags:
- SKIP_BASELINE
- SKIP_SAMPLING
Expand Down Expand Up @@ -50,7 +50,7 @@ parse:
BASELINE_FAIL_REGEX: '*'
REWRITE_RUN_PASS_REGEX: '*'
REWRITE_RUN_FAIL_REGEX: '*'
rocprof_sys_add_causal_test:
rocprofiler_systems_add_causal_test:
flags:
- SKIP_BASELINE
kwargs:
Expand All @@ -72,12 +72,12 @@ parse:
BASELINE_FAIL_REGEX: '*'
CAUSAL_VALIDATE_PASS_REGEX: '*'
CAUSAL_VALIDATE_FAIL_REGEX: '*'
rocprof_sys_target_compile_definitions:
rocprofiler_systems_target_compile_definitions:
kwargs:
PUBLIC: '*'
PRIVATE: '*'
INTERFACE: '*'
rocprof_sys_add_bin_test:
rocprofiler_systems_add_bin_test:
flags:
- WILL_FAIL
kwargs:
Expand All @@ -94,7 +94,7 @@ parse:
PASS_REGEX: '*'
FAIL_REGEX: '*'
SKIP_REGEX: '*'
rocprof_sys_add_python_test:
rocprofiler_systems_add_python_test:
flags:
- STANDALONE
kwargs:
Expand All @@ -113,7 +113,7 @@ parse:
PASS_REGEX: '*'
FAIL_REGEX: '*'
SKIP_REGEX: '*'
rocprof_sys_add_python_validation_test:
rocprofiler_systems_add_python_validation_test:
kwargs:
NAME: '*'
ARGS: '*'
Expand All @@ -128,19 +128,19 @@ parse:
- SEND_ERROR
- FATAL_ERROR
- AUTHOR_WARNING
rocprof_sys_find_python:
rocprofiler_systems_find_python:
flags:
- REQUIRED
- QUIET
kwargs:
VERSION: '*'
ROOT_DIR: '*'
COMPONENTS: '*'
rocprof_sys_python_console_script:
rocprofiler_systems_python_console_script:
kwargs:
VERSION: '*'
ROOT_DIR: '*'
rocprof_sys_pybind11_add_module:
rocprofiler_systems_pybind11_add_module:
flags:
- MODULE
- SHARED
Expand All @@ -153,7 +153,7 @@ parse:
PYTHON_VERSION: '*'
CXX_STANDARD: '*'
VISIBILITY: '*'
rocprof_sys_directory:
rocprofiler_systems_directory:
flags:
- MKDIR
- FAIL
Expand All @@ -162,14 +162,14 @@ parse:
OUTPUT_VARIABLE: '*'
WORKING_DIRECTORY: '*'
PATHS: '*'
rocprof_sys_check_python_dirs_and_versions:
rocprofiler_systems_check_python_dirs_and_versions:
flags:
- UNSET
- FAIL
kwargs:
RESULT_VARIABLE: '*'
OUTPUT_VARIABLE: '*'
rocprof_sys_find_static_library:
rocprofiler_systems_find_static_library:
flags:
- NO_CACHE
- REQUIRED
Expand All @@ -188,7 +188,7 @@ parse:
PATHS: '*'
PATH_SUFFIXES: '*'
DOC: '*'
rocprof_sys_find_shared_library:
rocprofiler_systems_find_shared_library:
flags:
- NO_CACHE
- REQUIRED
Expand All @@ -207,14 +207,14 @@ parse:
PATHS: '*'
PATH_SUFFIXES: '*'
DOC: '*'
rocprof_sys_causal_example_executable:
rocprofiler_systems_causal_example_executable:
kwargs:
TAG: '*'
SOURCES: '*'
DEFINITIONS: '*'
LINK_LIBRARIES: '*'
INCLUDE_DIRECTORIES: '*'
rocprof_sys_add_validation_test:
rocprofiler_systems_add_validation_test:
kwargs:
NAME: '*'
ARGS: '*'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,13 @@ jobs:
shopt -s nullglob
for i in $(find build-release -type f | egrep '/(stgz|deb|rpm)/.*\.(sh|deb|rpm)$'); do mv ${i} ./; done
sudo rm -rf build-release
sudo rm -rf /opt/rocprof-sys
sudo rm -rf /opt/rocprofiler-systems
- name: Test STGZ Install
timeout-minutes: 20
run: |
set -v
for i in rocprof-sys-*.sh
for i in rocprofiler-systems-*.sh
do
./docker/test-docker-release.sh --distro ${{ matrix.os-distro }} --versions ${{ matrix.os-version }} --rocm-versions ${{ matrix.rocm-version }} -- --stgz ${i}
done
Expand All @@ -314,4 +314,4 @@ jobs:
with:
fail_on_unmatched_files: True
files: |
rocprof-sys-*.sh
rocprofiler-systems-*.sh
8 changes: 4 additions & 4 deletions .github/workflows/opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
run:
echo "CC=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')" >> $GITHUB_ENV &&
echo "CXX=${{ matrix.compiler }}" >> $GITHUB_ENV &&
echo "/opt/rocprof-sys/bin:${HOME}/.local/bin" >> $GITHUB_PATH &&
echo "LD_LIBRARY_PATH=/opt/rocprof-sys/lib:${LD_LIBRARY_PATH}" >> $GITHUB_ENV
echo "/opt/rocprofiler-systems/bin:${HOME}/.local/bin" >> $GITHUB_PATH &&
echo "LD_LIBRARY_PATH=/opt/rocprofiler-systems/lib:${LD_LIBRARY_PATH}" >> $GITHUB_ENV

- name: Configure, Build, and Test
timeout-minutes: 115
Expand All @@ -86,7 +86,7 @@ jobs:
-DCMAKE_C_COMPILER=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DCMAKE_INSTALL_PREFIX=/opt/rocprof-sys
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_USE_MPI=OFF
-DROCPROFSYS_USE_HIP=OFF
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
timeout-minutes: 10
run: |
set -v
./scripts/test-find-package.sh --install-dir /opt/rocprof-sys
./scripts/test-find-package.sh --install-dir /opt/rocprofiler-systems
- name: CTest Artifacts
if: failure()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
-DCMAKE_C_COMPILER=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DCMAKE_INSTALL_PREFIX=/opt/rocprof-sys
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_USE_MPI=OFF
-DROCPROFSYS_USE_HIP=${USE_HIP}
Expand All @@ -137,14 +137,14 @@ jobs:
shell: bash
run: |
set -v
source /opt/rocprof-sys/share/rocprof-sys/setup-env.sh
source /opt/rocprofiler-systems/share/rocprof-sys/setup-env.sh
./scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,rewrite,runtime,python}=1
- name: Test User API
timeout-minutes: 10
run: |
set -v
./scripts/test-find-package.sh --install-dir /opt/rocprof-sys
./scripts/test-find-package.sh --install-dir /opt/rocprofiler-systems
- name: CTest Artifacts
if: failure()
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/ubuntu-focal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
-DCMAKE_C_COMPILER=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DCMAKE_INSTALL_PREFIX=/opt/rocprof-sys
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_USE_MPI=OFF
-DROCPROFSYS_USE_HIP=OFF
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
shell: bash
run: |
source /usr/share/modules/init/$(basename ${SHELL})
module use /opt/rocprof-sys/share/modulefiles
module use /opt/rocprofiler-systems/share/modulefiles
module avail
module load rocprof-sys
./scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,rewrite,runtime}=1 --test-rocprof-sys-python=${{ matrix.python }}
Expand All @@ -205,7 +205,7 @@ jobs:
timeout-minutes: 10
run: |
set -v
./scripts/test-find-package.sh --install-dir /opt/rocprof-sys
./scripts/test-find-package.sh --install-dir /opt/rocprofiler-systems
- name: CTest Artifacts
if: failure()
Expand Down Expand Up @@ -328,7 +328,7 @@ jobs:
-DCMAKE_C_COMPILER=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
-DCMAKE_INSTALL_PREFIX=/opt/rocprof-sys
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_BUILD_DEVELOPER=ON
-DROCPROFSYS_BUILD_EXTRA_OPTIMIZATIONS=OFF
Expand Down Expand Up @@ -358,14 +358,14 @@ jobs:
timeout-minutes: 15
shell: bash
run: |
source /opt/rocprof-sys/share/rocprof-sys/setup-env.sh
source /opt/rocprofiler-systems/share/rocprof-sys/setup-env.sh
./scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,python,rewrite,runtime}=1
- name: Test User API
timeout-minutes: 10
run: |
set -v
./scripts/test-find-package.sh --install-dir /opt/rocprof-sys
./scripts/test-find-package.sh --install-dir /opt/rocprofiler-systems
- name: CTest Artifacts
if: failure()
Expand Down Expand Up @@ -476,7 +476,7 @@ jobs:
-DCMAKE_C_COMPILER=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DCMAKE_INSTALL_PREFIX=/opt/rocprof-sys
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_BUILD_DYNINST=ON
-DROCPROFSYS_USE_MPI=${USE_MPI}
Expand Down Expand Up @@ -515,30 +515,30 @@ jobs:
working-directory: ${{ github.workspace }}/build
run: |
cpack -G STGZ
mkdir -p /opt/rocprof-sys
./rocprof-sys-*.sh --prefix=/opt/rocprof-sys --exclude-subdir --skip-license
mkdir -p /opt/rocprofiler-systems
./rocprofiler-systems-*.sh --prefix=/opt/rocprofiler-systems --exclude-subdir --skip-license
- name: Test Install with setup-env.sh
timeout-minutes: 15
run: |
set -v
source /opt/rocprof-sys/share/rocprof-sys/setup-env.sh
source /opt/rocprofiler-systems/share/rocprof-sys/setup-env.sh
${{ github.workspace }}/scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,python,rewrite,runtime}=1
- name: Test Install with Modulefile
timeout-minutes: 15
run: |
set -v
source /usr/share/modules/init/$(basename ${SHELL})
module use /opt/rocprof-sys/share/modulefiles
module use /opt/rocprofiler-systems/share/modulefiles
module load rocprof-sys
${{ github.workspace }}/scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,python,rewrite,runtime}=1
- name: Test User API
timeout-minutes: 10
run: |
set -v
${{ github.workspace }}/scripts/test-find-package.sh --install-dir /opt/rocprof-sys
${{ github.workspace }}/scripts/test-find-package.sh --install-dir /opt/rocprofiler-systems
- name: CTest Artifacts
if: failure()
Expand Down Expand Up @@ -618,7 +618,7 @@ jobs:
--site GitHub
--coverage
--
-DCMAKE_INSTALL_PREFIX=/opt/rocprof-sys
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems
-DROCPROFSYS_BUILD_CI=OFF
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_BUILD_DYNINST=OFF
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ubuntu-jammy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
-DCMAKE_C_COMPILER=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DCMAKE_INSTALL_PREFIX=/opt/rocprof-sys-dev
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems-dev
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_USE_MPI=${{ matrix.mpi }}
-DROCPROFSYS_USE_HIP=${{ matrix.hip }}
Expand Down Expand Up @@ -208,16 +208,16 @@ jobs:
run: |
cd build
cpack -G STGZ
mkdir -p /opt/rocprof-sys
./rocprof-sys-*.sh --prefix=/opt/rocprof-sys --exclude-subdir --skip-license
mkdir -p /opt/rocprofiler-systems
./rocprof-sys-*.sh --prefix=/opt/rocprofiler-systems --exclude-subdir --skip-license
- name: Test Install with Modulefile
timeout-minutes: 15
shell: bash
run: |
set -v
source /usr/share/modules/init/$(basename ${SHELL})
module use /opt/rocprof-sys/share/modulefiles
module use /opt/rocprofiler-systems/share/modulefiles
module avail
module load rocprof-sys
./scripts/test-install.sh --test-rocprof-sys-{instrument,avail,sample,python,rewrite,runtime}=1
Expand All @@ -226,7 +226,7 @@ jobs:
timeout-minutes: 10
run: |
set -v
./scripts/test-find-package.sh --install-dir /opt/rocprof-sys
./scripts/test-find-package.sh --install-dir /opt/rocprofiler-systems
- name: CTest Artifacts
if: failure()
Expand Down
Loading

0 comments on commit a38ef9a

Please sign in to comment.