@@ -60,6 +60,7 @@ Options:
60
60
--clang-triple NAME Use specific Clang triple name (default: riscv64-unknown-elf-clang)
61
61
--version VER Process specific version only
62
62
--list-versions List available versions and exit
63
+ --no-description Filter out description column in the merged output
63
64
```
64
65
65
66
### Examples
@@ -87,6 +88,10 @@ Use a different GCC triple:
87
88
List all available versions:
88
89
``` bash
89
90
./gen_compiler_ext.sh --list-versions
91
+
92
+ Filter out description column from output:
93
+ ` ` ` bash
94
+ ./gen_compiler_ext.sh --no-description
90
95
` ` `
91
96
92
97
# # 📦 Output Files
@@ -108,4 +113,51 @@ compiler-ext.csv # Combined & sorted CSV of all versions
108
113
` ` `
109
114
110
115
The merged CSV file includes columns for each toolchain version, showing whether each extension is supported (' Y' ) or not (' N' ).
116
+ ---
117
+
118
+
119
+ # # 📊 Excel Conversion
120
+
121
+ You can convert the generated CSV file to a formatted Excel spreadsheet using the included ` csv_to_xlsx.py` script:
122
+
123
+ ` ` ` bash
124
+ python csv_to_xlsx.py compiler-ext.csv
125
+ ` ` `
126
+
127
+ # ## Excel Conversion Options
128
+
129
+ ```
130
+ Options:
131
+ --output, -o FILE Specify output XLSX filename
132
+ --freeze, -f Freeze the first two columns (Name, Version)
133
+ --separate-sheets, -s Create additional separate sheets for GCC and Clang
134
+ ```
135
+
136
+ ### Examples
137
+
138
+ ```bash
139
+ # Basic conversion
140
+ python csv_to_xlsx.py compiler-ext.csv
141
+
142
+ # Create additional separate sheets for GCC and Clang
143
+ python csv_to_xlsx.py compiler-ext.csv --separate-sheets
144
+
145
+ # Specify a custom output filename
146
+ python csv_to_xlsx.py compiler-ext.csv -o risc-v-extensions.xlsx
147
+ ```
148
+
149
+ ### Dependencies
150
+
151
+ This script requires:
152
+ - pandas
153
+ - openpyxl
154
+
155
+ You can install these with:
156
+
157
+ ``` bash
158
+ pip install pandas openpyxl
159
+ ```
160
+
161
+ The Excel file will have conditional formatting with green highlighting for supported extensions ('Y') and red for unsupported ones ('N').
162
+
111
163
0 commit comments