43 Commits

Author SHA1 Message Date
Zhao Mengmeng
0ce7317523 Clang: Defer the instantiation of explicit-specifier until constraint checking completes
Backport upstream commit
128b3b61fe
to fix an build failure.

[resolve docs/ReleaseNotes.rst conflicts]
Signed-off-by: Zhao Mengmeng <zhaomengmeng@kylinos.cn>
(cherry picked from commit dda395ae46a3d5a93b618dd5375f2881addd40fa)
2024-09-05 14:44:33 +08:00
wangqiang
f8691f01f0 Handling of option -Wall and -Werror=format=2 override -Wno 2024-07-22 15:30:25 +08:00
cf-zhao
034173015e Revert "Support stack clash protection"
This reverts commit 5b938d7d6a6fcc9aa87a12cfe6fde223ed765bd3.

(cherry picked from commit 7be2e4982661c3184196af8c1ca31ad55b8f3496)
2024-05-20 09:06:27 +08:00
rickyleung
f72a4fc6ae Support stack clash protection
(cherry picked from commit 5b938d7d6a6fcc9aa87a12cfe6fde223ed765bd3)
2024-05-16 10:11:26 +08:00
wangqiang
e3757885a9 Ignored the option
(cherry picked from commit 99345c882cd7f360dc26c7e3b2d17841412a50c6)
2024-05-08 20:32:04 +08:00
luofeng14
c74dfdc5fd Fix declaration definition mismatch for classic flang
(cherry picked from commit eba0382068cd0e2d7d9c6917fbb23b31c6f6951d)
2024-05-08 16:42:31 +08:00
wangqiang
81ee55e3ce 修复使用 -Wshadow 选项时的错误告警
reference: https://github.com/llvm/llvm-project/c13b7485b87909fcf739f62cfa382b55407433c0

Signed-off-by: wangqiang <wangqiang1@kylinos.cn>
(cherry picked from commit a5abbb57720d4c3a06d5eb460187c662f7c2303b)
2024-04-18 23:04:36 +08:00
liyunfei
ae516efb41 add more warning options to -fgcc-compatible part 3
Signed-off-by: liyunfei <liyunfei33@huawei.com>
(cherry picked from commit ec13d8741a0c3eeba82898d7744f4a5e4ca9c9a8)
2024-04-16 11:56:05 +08:00
Ami-zhang
181552ce5a [Backport][LoongArch] Improve the support for compiler-rt and bugfix
(cherry picked from commit 4e2802e8d54f8e03a688dfbe78fa4e0dc9b8ae79)
2024-04-13 14:05:25 +08:00
Ami-zhang
cd26964f99 [Backport][LoongArch] Add the support for vector
(cherry picked from commit 58a806d6483358bbc687f3d684c6c3e089236ee6)
2024-04-12 09:38:08 +08:00
liyunfei
ec9a9975b7 Add more warning options to BUILD_FOR_OPENEULER gcc compatible part 2.
Signed-off-by: liyunfei <liyunfei33@huawei.com>
(cherry picked from commit 59d3f9de0c411f1de233ebf3f86c8f3b8bd01108)
2024-03-29 16:53:50 +08:00
liyunfei
e689e6b447 Add more warning options to BUILD_FOR_OPENEULER gcc compatible
Signed-off-by: liyunfei <liyunfei33@huawei.com>
(cherry picked from commit 5cba42c99e63808e3ba4cbaa37c6789d40cf7995)
2024-03-15 11:49:21 +08:00
Ami-zhang
4b7abc8747 Add loongarch64 to os-triple patch
(cherry picked from commit 6b3c3df1abe8879ea2ffabfce6483549dc9b9211)
2024-03-15 09:06:50 +08:00
laokz
02dda8b44b riscv64: backport upstream patch to fix test failure
InterpreterExceptionTest on RISC-V is not implemented
for clang17. Backport v18 patch to Disable it.

Reference:
ca003ee06d
2024-03-01 21:36:21 +08:00
liyunfei
9687d8d70b add BUILD_FOR_OPENEULER to clang
add BUILD_FOR_OPENEULER make option to clang for gcc compatible.

Signed-off-by: liyunfei <liyunfei33@huawei.com>
2024-02-23 10:18:12 +08:00
liyunfei
d5a9a4c461 Revert "Clang: Change the default DWARF version to 5"
add patch to set default DWARF version to 4

Signed-off-by: liyunfei <liyunfei33@huawei.com>
2024-02-20 15:30:55 +08:00
laokz
e9ba1439dd Add riscv64 to os-triple patch
Signed-off-by: laokz <zhangkai@iscas.ac.cn>
2024-02-18 15:00:27 +08:00
liyunfei
0c21c34a03 add Buildrequires: llvm-libs 2024-01-29 14:45:35 +08:00
liyunfei
579f3b689d Add triples for X86_64/AArch64 openEuler gcc 2023-12-19 09:27:40 +08:00
zhoujing
fb545c1c29 Update to LLVM 17.0.6
1. Use llvm-cmake-util package
2. Add tools-extra-devel package to include clang-tidy
3. Use LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR to specify the path of clang-tool-extra src
4. Add Patchs for fix build error(Reference fedora)
5. Add clang-tblgen to clang-devel package
2023-12-19 09:20:25 +08:00
cf_zhao
a0e7adbc20 Make this spec file support both system-version and multi-version. 2023-07-12 10:25:44 +08:00
cf-zhao
8a2747a814
回退 'Pull Request !55 : 升级到15.0.7' 2023-05-18 12:36:53 +00:00
cf_zhao
0a0a507bb7 Update to llvm 15.0.7 2023-05-15 19:12:27 +08:00
cokeom
b3addea8f7 add ignored options, replaced options and option -aux-info 2022-10-15 12:45:14 +08:00
panxiaohe
c4d222a84a update to 12.0.1 2022-02-25 17:09:26 +08:00
chen-jan
84655fb9df del rpath from some binaries and bin 2021-09-16 06:18:55 +00:00
chenyanpanHW
6db88fddb3
delete -Sgit from %autosetup, and delete BuildRequires git 2021-08-02 10:12:37 +08:00
licihua
f4cfe5d2b5 Reduce build time 2021-04-30 10:21:15 +08:00
licihua
6b27e4abf3 reduce debug info 2021-04-29 19:49:49 +08:00
jpzhang187
c452a4ef39 Modify the dependency to python3 2021-02-18 17:22:34 +08:00
jpzhang187
7fbf08b9de Delete low version dynamic library 2020-09-25 15:38:36 +08:00
si-gui
58546936ed Forget libfindAllSymbols.so.7 2020-08-01 19:50:03 +08:00
si-gui
20b0085192 del old clang version 2020-08-01 18:43:50 +08:00
si-gui
0692ef3ef9 update to 10.0.1 2020-07-31 15:11:11 +08:00
惊奇脆片饼干
0c99ed40a8 回退 'Pull Request !11 : Upgrade to latest version of clang' 2020-07-07 16:12:59 +08:00
Shinwell Hu
07a92e5f07 update to 10.0.0 2020-06-06 08:25:17 +00:00
lei_ju
a4e4fc0a14 add clang yaml 2020-05-28 20:51:47 +08:00
lei_ju
0e64a6477a add clang yaml 2020-05-28 20:45:23 +08:00
lei_ju
5fb78f3a6e add clang yaml 2020-05-28 20:43:23 +08:00
lei_ju
2bfb2a1a1d add clang yaml 2020-05-28 18:48:43 +08:00
sherlock2010
6af052a53a Remove useless scriptlet 2020-04-03 10:05:24 +08:00
daidai_is_here
6f7b2d0368 add buildrequire compiler-rt 2020-03-03 18:08:48 +08:00
openeuler-basic
8387785c74 init clang 2019-12-17 21:09:38 +08:00