diff --git a/.azuredevops/components/AMDMIGraphX.yml b/.azuredevops/components/AMDMIGraphX.yml index b88de64bb..fc2a8ab89 100644 --- a/.azuredevops/components/AMDMIGraphX.yml +++ b/.azuredevops/components/AMDMIGraphX.yml @@ -12,10 +12,8 @@ parameters: - cmake - ninja-build - libnuma-dev - - miopen-hip-dev - - openmp-extras + - python3-pip - python3-venv - - rocblas-dev - libtbb-dev - nlohmann-json3-dev - libmsgpack-dev @@ -23,7 +21,6 @@ parameters: - libprotobuf-dev - protobuf-compiler - python3-pybind11 - - composablekernel-dev - name: pipModules type: object default: @@ -38,7 +35,16 @@ parameters: type: object default: - rocm-cmake + - llvm-project + - ROCR-Runtime + - clr + - rocminfo - rocMLIR + - MIOpen + - aomp + - aomp-extras + - rocBLAS + - composable_kernel jobs: - job: AMDMIGraphX @@ -46,8 +52,6 @@ jobs: - group: common - template: /.azuredevops/variables-global.yml pool: ${{ variables.MEDIUM_BUILD_POOL }} - container: - image: ${{ variables.DOCKER_IMAGE_NAME }}:${{ variables.LATEST_DOCKER_VERSION }} workspace: clean: all steps: @@ -80,11 +84,11 @@ jobs: - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml parameters: extraBuildFlags: >- - -DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/amdclang++ - -DCMAKE_C_COMPILER=/opt/rocm/llvm/bin/amdclang + -DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++ + -DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS=gfx1030;gfx1100 - -DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;/opt/rocm/llvm;opt/rocm + -DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm/llvm;$(Agent.BuildDirectory)/rocm -DHALF_INCLUDE_DIR=$(Agent.BuildDirectory)/rocm/include -DMIGRAPHX_USE_COMPOSABLEKERNEL=OFF -DBUILD_TESTING=ON