!82 [ClassicFlang] Add the support for classic flang.
From: @luofeng14 Reviewed-by: @cf-zhao Signed-off-by: @cf-zhao
This commit is contained in:
commit
3c882ca54c
1776
0017-Add-the-support-for-classic-flang.patch
Normal file
1776
0017-Add-the-support-for-classic-flang.patch
Normal file
File diff suppressed because it is too large
Load Diff
1041
0018-Fix-declaration-definition-mismatch-for-classic-flang.patch
Normal file
1041
0018-Fix-declaration-definition-mismatch-for-classic-flang.patch
Normal file
File diff suppressed because it is too large
Load Diff
12
llvm.spec
12
llvm.spec
@ -1,5 +1,6 @@
|
||||
%bcond_without sys_llvm
|
||||
%bcond_without check
|
||||
%bcond_with classic_flang
|
||||
|
||||
%global maj_ver 17
|
||||
%global min_ver 0
|
||||
@ -37,7 +38,7 @@
|
||||
|
||||
Name: %{pkg_name}
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: The Low Level Virtual Machine
|
||||
|
||||
License: NCSA
|
||||
@ -64,6 +65,8 @@ Patch13: 0013-Backport-Bitcode-Add-some-missing-GetTypeByID-failure-checks.patc
|
||||
Patch14: 0014-Backport-X86-Inline-Skip-inline-asm-in-inlining-targ.patch
|
||||
Patch15: 0015-Backport-ARM-Check-all-terms-in-emitPopInst-when-clearing-Res.patch
|
||||
Patch16: 0016-Backport-ARM-Update-IsRestored-for-LR-based-on-all-returns-82.patch
|
||||
Patch17: 0017-Add-the-support-for-classic-flang.patch
|
||||
Patch18: 0018-Fix-declaration-definition-mismatch-for-classic-flang.patch
|
||||
|
||||
BuildRequires: binutils-devel
|
||||
BuildRequires: cmake
|
||||
@ -222,9 +225,11 @@ cd _build
|
||||
-DLLVM_LIBDIR_SUFFIX=64 \
|
||||
%else
|
||||
-DLLVM_LIBDIR_SUFFIX= \
|
||||
%endif
|
||||
%if %{with classic_flang}
|
||||
-DLLVM_ENABLE_CLASSIC_FLANG=ON \
|
||||
%endif
|
||||
-DLLVM_INCLUDE_BENCHMARKS=OFF
|
||||
|
||||
%ninja_build LLVM
|
||||
%ninja_build
|
||||
|
||||
@ -346,6 +351,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build
|
||||
%{install_includedir}/llvm-gmock
|
||||
|
||||
%changelog
|
||||
* Wed Apr 17 2024 luofeng <luofeng13@huawei.com> - 17.0.6-8
|
||||
- Add the support for classic flang
|
||||
|
||||
* Fri Apr 12 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-7
|
||||
- Backport patch to fix CVE-2024-31852
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user