Commit 2138260
authored
[BugFix] Remove -Werror from csrc CMakeLists.txt files (vllm-project#13091)
## Motivation
In the new version of CANN, alarms will be generated. Using -werror will
cause the alarms to be treated as errors, resulting in installation
failure.
The `-Werror` flag in `csrc/**/op_host/CMakeLists.txt` files treats all
compiler warnings as fatal errors. This blocks local development builds
when the CANN compiler emits benign warnings (e.g.,
deprecated-declarations that are already silenced via
`-Wno-deprecated-declarations`). Warnings should be reviewed and fixed,
but they should not be fatal during development iteration.
## Modifications
Removed the `-Werror` flag from all AscendC custom op `CMakeLists.txt`
files under `csrc/`. This is a pure build-flag change — no source code
or kernel logic is touched.
- **43 files changed**, 43 deletions (one `-Werror` line per file)
- The `-Wno-deprecated-declarations` flag and all other compile options
remain unchanged
## Test
No functional change. Build verification on target CANN toolchain
recommended.
- vLLM version: v0.25.1
- vLLM main:
vllm-project/vllm@d02df74
Signed-off-by: ZT-AIA <1028681969@qq.com>1 parent 3d0f7d6 commit 2138260
44 files changed
Lines changed: 0 additions & 44 deletions
File tree
- csrc
- attention
- compressor_metadata/op_host
- compressor/op_host
- indexer_compress_epilog_v2/op_host
- indexer_compress_epilog/op_host
- inplace_partial_rotary_mul/op_host
- kv_compress_epilog/op_host
- kv_quant_sparse_flash_attention/op_host
- lightning_indexer_quant/op_host
- lightning_indexer_vllm/op_host
- lightning_indexer/op_host
- load_index_kv_cache/op_host
- ngram_spec_decode/op_host
- recurrent_gated_delta_rule_v310/op_host
- recurrent_gated_delta_rule/op_host
- rms_norm_dynamic_quant/op_host
- sparse_attention_score/op_host
- sparse_flash_attention/op_host
- store_kv_block/op_host
- vllm_quant_lightning_indexer/op_host
- gmm
- grouped_matmul_swiglu_quant_v2/op_host
- grouped_matmul_swiglu_quant_weight_nz_tensor_list/op_host
- grouped_matmul_swiglu_quant/op_host
- mc2
- dispatch_ffn_combine_bf16/op_host
- dispatch_ffn_combine_w4_a8/op_host
- dispatch_ffn_combine/op_host
- moe
- add_rms_norm_bias/op_host
- causal_conv1d_v310/op_host
- causal_conv1d/op_host
- chunk_fwd_o/op_host
- chunk_gated_delta_rule_fwd_h/op_host
- copy_and_expand_eagle_inputs/op_host
- dequant_swiglu_quant/op_host
- hc_post/op_host
- hc_pre_inv_rms/op_host
- hc_pre_sinkhorn/op_host
- hc_pre/op_host
- moe_gating_top_k_hash/op_host
- moe_gating_top_k/op_host
- moe_grouped_matmul/op_host
- scatter_nd_update_v2/op_host
- swiglu_group_quant/op_host
- transpose_kv_cache_by_block/op_host
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
0 commit comments