Skip to content

Commit

Permalink
Merge pull request #8285 from cms-sw/smuzaffar-patch-16
Browse files Browse the repository at this point in the history
[BuildRules] Reorder Rocm flags so that those can override compilers flags
  • Loading branch information
smuzaffar authored Feb 3, 2023
2 parents 3048c59 + 99cc383 commit 28f629a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scram-project-build.file
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ BuildRequires: dwz
%endif

%if "%{?configtag:set}" != "set"
%define configtag V07-05-04
%define configtag V07-05-06
%endif

%if "%{?cvssrc:set}" != "set"
Expand Down
4 changes: 2 additions & 2 deletions scram-tools.file/tools/cuda/cuda.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<environment name="INCLUDE" default="$CUDA_BASE/include"/>
</client>
<flags CUDA_FLAGS="@CUDA_FLAGS@"/>
<flags CUDA_HOST_REM_CXXFLAGS="-std=%"/>
<flags CUDA_HOST_REM_CXXFLAGS="%potentially-evaluated-expression"/>
<flags REM_CUDA_HOST_CXXFLAGS="-std=%"/>
<flags REM_CUDA_HOST_CXXFLAGS="%potentially-evaluated-expression"/>
<flags CUDA_HOST_CXXFLAGS="@CUDA_HOST_CXXFLAGS@"/>
<lib name="cudadevrt" type="cuda"/>
<runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE" type="path"/>
Expand Down

0 comments on commit 28f629a

Please sign in to comment.