Skip to content

Commit

Permalink
Merge pull request #8048 from fwyzard/IB/CMSSW_12_5_X/master_rocm_use…
Browse files Browse the repository at this point in the history
…_host_triple

Fix ROCM_FLAGS [12.5.x]
  • Loading branch information
cmsbuild authored Sep 1, 2022
2 parents 447c9c5 + b371d1d commit ab547c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scram-tools.file/tools/rocm/rocm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<environment name="INCLUDE" default="$ROCM_BASE/hip/include"/>
<environment name="INCLUDE" default="$ROCM_BASE/hsa/include"/>
</client>
<flags ROCM_FLAGS="-fno-gpu-rdc --amdgpu-target=gfx900 --target=$COMPILER_HOST --gcc-toolchain=$COMPILER_PATH -D__HIP_PLATFORM_HCC__ -D__HIP_PLATFORM_AMD__"/>
<flags ROCM_FLAGS="-fno-gpu-rdc --amdgpu-target=gfx900 --target=$(COMPILER_HOST) --gcc-toolchain=$(COMPILER_PATH) -D__HIP_PLATFORM_HCC__ -D__HIP_PLATFORM_AMD__"/>
<!-- REM_CXXFLAGS from llvm/llvm-cxxcompiler.xml -->
<flags ROCM_HOST_REM_CXXFLAGS="-Wno-non-template-friend"/>
<flags ROCM_HOST_REM_CXXFLAGS="-Werror=format-contains-nul"/>
Expand Down

0 comments on commit ab547c9

Please sign in to comment.