Compare commits
No commits in common. "a10s" and "a10" have entirely different histories.
39
config.yaml
39
config.yaml
@ -2,8 +2,10 @@ actions:
|
|||||||
- replace:
|
- replace:
|
||||||
- target: "spec"
|
- target: "spec"
|
||||||
find: |
|
find: |
|
||||||
|
%if %{maj_ver} >=18
|
||||||
%global cfg_file_content --gcc-triple=%{_target_cpu}-redhat-linux
|
%global cfg_file_content --gcc-triple=%{_target_cpu}-redhat-linux
|
||||||
replace: |
|
replace: |
|
||||||
|
%if %{maj_ver} >=18
|
||||||
%ifarch x86_64_v2
|
%ifarch x86_64_v2
|
||||||
%global cfg_file_content --gcc-triple=x86_64-redhat-linux
|
%global cfg_file_content --gcc-triple=x86_64-redhat-linux
|
||||||
%else
|
%else
|
||||||
@ -30,6 +32,33 @@ actions:
|
|||||||
%ifarch aarch64 riscv64
|
%ifarch aarch64 riscv64
|
||||||
%define _find_debuginfo_dwz_opts %{nil}
|
%define _find_debuginfo_dwz_opts %{nil}
|
||||||
count: 1
|
count: 1
|
||||||
|
- target: "spec"
|
||||||
|
find: |
|
||||||
|
#region llvm options
|
||||||
|
replace: |
|
||||||
|
%global runtimes compiler-rt;openmp
|
||||||
|
%ifnarch riscv64
|
||||||
|
%global runtimes %{runtimes};offload
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#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"
|
- target: "spec"
|
||||||
find: |
|
find: |
|
||||||
%cmake_build --target check-lit
|
%cmake_build --target check-lit
|
||||||
@ -56,6 +85,8 @@ actions:
|
|||||||
test_list_filter_out+=("Clang :: OpenMP/declare_variant_device_isa_codegen_1.c")
|
test_list_filter_out+=("Clang :: OpenMP/declare_variant_device_isa_codegen_1.c")
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
export LIT_FILTER_OUT=$(test_list_to_regex test_list_filter_out)
|
||||||
|
|
||||||
%ifnarch riscv64
|
%ifnarch riscv64
|
||||||
%cmake_build --target check-clang
|
%cmake_build --target check-clang
|
||||||
%endif
|
%endif
|
||||||
@ -94,6 +125,14 @@ actions:
|
|||||||
%ifnarch %{ix86} s390x riscv64
|
%ifnarch %{ix86} s390x riscv64
|
||||||
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a
|
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a
|
||||||
count: 1
|
count: 1
|
||||||
|
- target: "spec"
|
||||||
|
find: |
|
||||||
|
%ifnarch %{ix86}
|
||||||
|
# libomptarget is not supported on 32-bit systems.
|
||||||
|
replace: |
|
||||||
|
%ifnarch %{ix86} riscv64
|
||||||
|
# libomptarget is not supported on 32-bit systems.
|
||||||
|
count: 2
|
||||||
|
|
||||||
- modify_release:
|
- modify_release:
|
||||||
- suffix: ".alma.1"
|
- suffix: ".alma.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user