diff --git a/config.yaml b/config.yaml index 708d4ac..5a21448 100644 --- a/config.yaml +++ b/config.yaml @@ -2,10 +2,8 @@ actions: - replace: - target: "spec" find: | - %if %{maj_ver} >=18 %global cfg_file_content --gcc-triple=%{_target_cpu}-redhat-linux replace: | - %if %{maj_ver} >=18 %ifarch x86_64_v2 %global cfg_file_content --gcc-triple=x86_64-redhat-linux %else @@ -43,20 +41,14 @@ actions: #region llvm options count: 1 - - target: "spec" - find: "-DLLVM_ENABLE_RUNTIMES=\"compiler-rt;openmp;offload\"" - replace: "-DLLVM_ENABLE_RUNTIMES=\"%{runtimes}\"" - count: 1 - target: "spec" find: | %ifnarch %{ix86} # Remove files that we don't package, yet. - %if %{maj_ver} >= 20 rm %{buildroot}%{install_bindir}/llvm-offload-device-info replace: | %ifnarch %{ix86} riscv64 # Remove files that we don't package, yet. - %if %{maj_ver} >= 20 rm %{buildroot}%{install_bindir}/llvm-offload-device-info count: 1 - target: "spec"