mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-09 22:58:17 -05:00
Added Debug
This commit is contained in:
@@ -226,10 +226,11 @@ jobs:
|
|||||||
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin"
|
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin"
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/s/rocm
|
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/s/projects/rocprofiler-systems
|
cmakeSourceDir: $(Agent.BuildDirectory)/s/projects/rocprofiler-systems
|
||||||
# build flags reference: https://rocm.docs.amd.com/projects/omnitrace/en/latest/install/install.html
|
# build flags reference: https://rocm.docs.amd.com/projects/omnitrace/en/latest/install/install.html
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
|
-DCMAKE_INSTALL_PREFIX=$(Agent.BuildDirectory)/rocprofiler-systems
|
||||||
|
-DROCPROFSYS_USE_PYTHON=ON
|
||||||
-DROCPROFSYS_BUILD_TESTING=ON
|
-DROCPROFSYS_BUILD_TESTING=ON
|
||||||
-DROCPROFSYS_BUILD_DYNINST=ON
|
-DROCPROFSYS_BUILD_DYNINST=ON
|
||||||
-DROCPROFSYS_BUILD_LIBUNWIND=ON
|
-DROCPROFSYS_BUILD_LIBUNWIND=ON
|
||||||
@@ -253,24 +254,30 @@ jobs:
|
|||||||
displayName: List all files under rocprofiler-systems
|
displayName: List all files under rocprofiler-systems
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: ls -lR $(Agent.BuildDirectory)/s
|
script: ls -lR $(Agent.BuildDirectory)/rocprofiler-systems
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
workingDirectory: $(Agent.BuildDirectory)/rocprofiler-systems
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Find tests
|
displayName: Find tests
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: find $(Agent.BuildDirectory)/s -name '*test*'
|
script: find $(Agent.BuildDirectory)/s -name '*test*'
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
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
|
- task: Bash@3
|
||||||
displayName: Set up rocprofiler-systems env
|
displayName: Set up rocprofiler-systems env
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: source $(Agent.BuildDirectory)/s/rocm/share/rocprofiler-systems/setup-env.sh
|
script: source $(Agent.BuildDirectory)/rocprofiler-systems/share/rocprofiler-systems/setup-env.sh
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s/rocm/share/rocprofiler-systems
|
workingDirectory: $(Agent.BuildDirectory)/rocprofiler-systems/share/rocprofiler-systems
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
testDir: $(Agent.BuildDirectory)/s/projects/rocprofiler-systems
|
testDir: $(Agent.BuildDirectory)/rocprofiler-systems
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|||||||
Reference in New Issue
Block a user