mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
- Add knobs to toggle aggregate build options. - Aggregate build pipeline will pull ROCm dependencies from earlier in the same pipeline. - Changing build pool of some components for more compute power. - Deleting deprecated component. - Add Ninja to dependency compilation in MIOpen. - Add retries to wget for MIOpen CK build case. --------- Co-authored-by: Daniel Su <danielsu@amd.com>
68 lines
2.0 KiB
YAML
68 lines
2.0 KiB
YAML
parameters:
|
|
- name: checkoutRepo
|
|
type: string
|
|
default: 'self'
|
|
- name: checkoutRef
|
|
type: string
|
|
default: ''
|
|
# set to true if doing full build of ROCm stack
|
|
# and dependencies are pulled from same pipeline
|
|
- name: aggregatePipeline
|
|
type: boolean
|
|
default: false
|
|
- name: aptPackages
|
|
type: object
|
|
default:
|
|
- cmake
|
|
- ninja-build
|
|
- git
|
|
- wget
|
|
- python3-pip
|
|
- name: rocmDependencies
|
|
type: object
|
|
default:
|
|
- rocm-cmake
|
|
- llvm-project
|
|
- ROCR-Runtime
|
|
- clr
|
|
- rocminfo
|
|
|
|
jobs:
|
|
- job: hipBLAS_common
|
|
variables:
|
|
- group: common
|
|
- name: ROCM_PATH
|
|
value: $(Agent.BuildDirectory)/rocm
|
|
- template: /.azuredevops/variables-global.yml
|
|
pool:
|
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
|
workspace:
|
|
clean: all
|
|
steps:
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
parameters:
|
|
aptPackages: ${{ parameters.aptPackages }}
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
|
parameters:
|
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
parameters:
|
|
checkoutRef: ${{ parameters.checkoutRef }}
|
|
dependencyList: ${{ parameters.rocmDependencies }}
|
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
parameters:
|
|
extraBuildFlags: >-
|
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
|
-GNinja
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
|
# parameters:
|
|
# aptPackages: ${{ parameters.aptPackages }}
|
|
# extraEnvVars:
|
|
# - ROCM_PATH:::/home/user/workspace/rocm
|