File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
share/rocmcmakebuildtools/cmake Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1111 with :
1212 access_token : ${{ github.token }}
1313 lint :
14- runs-on : ubuntu-20 .04
14+ runs-on : ubuntu-24 .04
1515 steps :
1616 - uses : actions/checkout@v1
1717 - name : Set up Python 3.10
3232 max-parallel : 4
3333 matrix :
3434 platform :
35- - ubuntu-20 .04
36- - windows-2019
35+ - ubuntu-24 .04
36+ - windows-2022
3737 cmake-version :
3838 - 3.31.0
3939 - 3.22.1
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ function(rocm_check_target_ids VARIABLE)
2121 foreach (_target_id ${PARSE_TARGETS} )
2222 _rocm_sanitize_target_id("${_target_id} " _result_var)
2323 set (_result_var "COMPILER_HAS_TARGET_ID_${_result_var} " )
24+ set (CMAKE_REQUIRED_LINK_OPTIONS "--hip-link" )
2425 check_cxx_compiler_flag("-xhip --offload-arch=${_target_id} " "${_result_var} " )
2526 if (${_result_var} )
2627 list (APPEND _supported_target_ids "${_target_id} " )
You can’t perform that action at this time.
0 commit comments