diff --git a/.azuredevops/components/rocprofiler-systems.yml b/.azuredevops/components/rocprofiler-systems.yml index 462f5f060..adccc725d 100644 --- a/.azuredevops/components/rocprofiler-systems.yml +++ b/.azuredevops/components/rocprofiler-systems.yml @@ -226,10 +226,11 @@ jobs: echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin" - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml parameters: - cmakeBuildDir: $(Agent.BuildDirectory)/s/rocm cmakeSourceDir: $(Agent.BuildDirectory)/s/projects/rocprofiler-systems # build flags reference: https://rocm.docs.amd.com/projects/omnitrace/en/latest/install/install.html extraBuildFlags: >- + -DCMAKE_INSTALL_PREFIX=$(Agent.BuildDirectory)/rocprofiler-systems + -DROCPROFSYS_USE_PYTHON=ON -DROCPROFSYS_BUILD_TESTING=ON -DROCPROFSYS_BUILD_DYNINST=ON -DROCPROFSYS_BUILD_LIBUNWIND=ON @@ -253,24 +254,30 @@ jobs: displayName: List all files under rocprofiler-systems inputs: targetType: inline - script: ls -lR $(Agent.BuildDirectory)/s - workingDirectory: $(Agent.BuildDirectory)/s + script: ls -lR $(Agent.BuildDirectory)/rocprofiler-systems + workingDirectory: $(Agent.BuildDirectory)/rocprofiler-systems - task: Bash@3 displayName: Find tests inputs: targetType: inline script: find $(Agent.BuildDirectory)/s -name '*test*' workingDirectory: $(Agent.BuildDirectory)/s + - task: Bash@3 + displayName: Find tests under rocprofiler-systems + inputs: + targetType: inline + script: find $(Agent.BuildDirectory)/rocprofiler-systems -name '*test*' + workingDirectory: $(Agent.BuildDirectory)/rocprofiler-systems - task: Bash@3 displayName: Set up rocprofiler-systems env inputs: targetType: inline - script: source $(Agent.BuildDirectory)/s/rocm/share/rocprofiler-systems/setup-env.sh - workingDirectory: $(Agent.BuildDirectory)/s/rocm/share/rocprofiler-systems + script: source $(Agent.BuildDirectory)/rocprofiler-systems/share/rocprofiler-systems/setup-env.sh + workingDirectory: $(Agent.BuildDirectory)/rocprofiler-systems/share/rocprofiler-systems - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml parameters: componentName: ${{ parameters.componentName }} - testDir: $(Agent.BuildDirectory)/s/projects/rocprofiler-systems + testDir: $(Agent.BuildDirectory)/rocprofiler-systems - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml parameters: gpuTarget: ${{ job.target }}