We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6823630 + f06c0e8 commit 80f6b5dCopy full SHA for 80f6b5d
rocm.spec
@@ -1,5 +1,6 @@
1
### RPM external rocm 6.3.2
2
## INCLUDE cpp-standard
3
+## INITENV SET HIP_PATH %{i}
4
5
%if 0%{?rhel} == 7
6
# allow rpm2cpio dependency on the bootstrap bundle
@@ -148,4 +149,14 @@ find %{i}/bin/ %{i}/libexec/ %{i}/llvm/bin/ %{i}/llvm/lib/ -type f | xargs -r \
148
149
cd build/rocprofiler-register
150
make install
151
152
+#Create clang cfg file for gcc-toolchain
153
+%if 0%{!?use_system_gcc:1}
154
+host_triple=$(gcc -dumpmachine)
155
+echo "--gcc-toolchain=$GCC_ROOT" > %{i}/llvm/bin/clang++.cfg
156
+echo "--target=$host_triple" >> %{i}/llvm/bin/clang++.cfg
157
+%endif
158
+
159
%post
160
161
+%{relocateConfig}/llvm/bin/clang++.cfg
162
0 commit comments