mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
add linker script to QA builds (#1030)
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -767,7 +767,7 @@ pipeline {
|
||||
}
|
||||
agent{ label rocmnode("gfx908 || gfx90a") }
|
||||
environment{
|
||||
setup_args = """ -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx908;gfx90a;gfx940;gfx941;gfx942" """
|
||||
setup_args = """ -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx908;gfx90a;gfx940;gfx941;gfx942" -DCMAKE_EXE_LINKER_FLAGS=" -L ${env.WORKSPACE}/script -T hip_fatbin_insert " """
|
||||
execute_args = """ cd ../client_example && rm -rf build && mkdir build && cd build && cmake -D CMAKE_PREFIX_PATH="${env.WORKSPACE}/install;/opt/rocm" -DGPU_TARGETS="gfx908;gfx90a;gfx940;gfx941;gfx942" -D CMAKE_CXX_COMPILER="${build_compiler()}" .. && make -j """
|
||||
}
|
||||
steps{
|
||||
|
||||
7
script/hip_fatbin_insert
Normal file
7
script/hip_fatbin_insert
Normal file
@@ -0,0 +1,7 @@
|
||||
SECTIONS {
|
||||
.hipFatBinSegment : { *(.hipFatBinSegment) }
|
||||
} INSERT AFTER .bss
|
||||
|
||||
SECTIONS {
|
||||
.hip_fatbin : { *(.hip_fatbin) }
|
||||
} INSERT AFTER .hipFatBinSegment
|
||||
Reference in New Issue
Block a user