mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
- Since this is an autotools project and not cmake, build and test on gfx942 system instead of separating into two jobs. Pipeline time is short anyway. - Follow build instructions to update build flags and to incorporate the ROCdbgapi. - Results are not parsed and graphed, but the log contents are printed at the end. This was helpful for debugging and will be kept in the pipeline, as the make check-gdb command's output was not helpful on its own.
37 lines
973 B
YAML
37 lines
973 B
YAML
parameters:
|
|
- name: componentName
|
|
type: string
|
|
default: ''
|
|
- name: configureFlags
|
|
type: string
|
|
default: ''
|
|
- name: buildDir
|
|
type: string
|
|
default: '$(Build.SourcesDirectory)'
|
|
- name: installDir
|
|
type: string
|
|
default: '$(Build.BinariesDirectory)'
|
|
- name: makeCallPrefix
|
|
type: string
|
|
default: ''
|
|
|
|
steps:
|
|
- task: Bash@3
|
|
displayName: '${{ parameters.componentName }} configure flags'
|
|
inputs:
|
|
targetType: inline
|
|
script: ./configure --prefix=${{ parameters.installDir }} ${{ parameters.configureFlags }}
|
|
workingDirectory: ${{ parameters.buildDir }}
|
|
- task: Bash@3
|
|
displayName: '${{ parameters.componentName }} make'
|
|
inputs:
|
|
targetType: inline
|
|
script: ${{ parameters.makeCallPrefix }} make -j$(nproc)
|
|
workingDirectory: ${{ parameters.buildDir }}
|
|
- task: Bash@3
|
|
displayName: '${{ parameters.componentName }} make install'
|
|
inputs:
|
|
targetType: inline
|
|
script: make install
|
|
workingDirectory: ${{ parameters.buildDir }}
|