mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-09 14:48:06 -05:00
Added AlmaLinux 8 Pipeline Support - aomp - HIPIFY - rocDecode - ROCgdb - rocJPEG - rocprofiler - aqlprofile dependency template - build autotools template - download latest cmake template Pipeline Changes - More gfx build targets. - Copying llvm-lit to the llvm-project published artifacts. - HIPIFY now uses our built version of llvm-project for its pipeline. - Disable testing in HIPIFY pipeline due to low value provided. Revisit in the future. - aomp's ROCm dependency list reduced. - aomp's openmp build had issues with ninja on AlmaLinux 8.
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
parameters:
|
|
- name: os
|
|
type: string
|
|
default: 'ubuntu2204'
|
|
- 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
|
|
workingDirectory: ${{ parameters.buildDir }}
|
|
script: |
|
|
${{ iif(eq(parameters.os, 'almalinux8'), 'source /opt/rh/gcc-toolset-14/enable', '') }}
|
|
./configure --prefix=${{ parameters.installDir }} ${{ parameters.configureFlags }}
|
|
- task: Bash@3
|
|
displayName: '${{ parameters.componentName }} make'
|
|
inputs:
|
|
targetType: inline
|
|
workingDirectory: ${{ parameters.buildDir }}
|
|
script: |
|
|
${{ iif(eq(parameters.os, 'almalinux8'), 'source /opt/rh/gcc-toolset-14/enable', '') }}
|
|
${{ parameters.makeCallPrefix }} make -j$(nproc)
|
|
- task: Bash@3
|
|
displayName: '${{ parameters.componentName }} make install'
|
|
inputs:
|
|
targetType: inline
|
|
workingDirectory: ${{ parameters.buildDir }}
|
|
script: |
|
|
${{ iif(eq(parameters.os, 'almalinux8'), 'source /opt/rh/gcc-toolset-14/enable', '') }}
|
|
make install
|