File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,29 @@ jobs:
14
14
matrix :
15
15
target :
16
16
- core : cortex-m3
17
+ newlib_arch_path : /usr/lib/arm-none-eabi/newlib/thumb/v7-m/nofp
17
18
se : st33
18
19
- core : cortex-m35p+nodsp
20
+ newlib_arch_path : /usr/lib/arm-none-eabi/newlib/thumb/v8-m.main+fp/softfp
19
21
se : st33k1
20
22
21
23
steps :
22
24
- uses : actions/checkout@v4
23
25
with :
24
26
# TODO: remove this next line before merging!
25
- ref : feat/apa/clangrt
27
+ ref : feat/iar/clangrt_22_from_apa
26
28
sparse-checkout : |
27
29
tools/build_clangrt_builtins.sh
28
30
sparse-checkout-cone-mode : false
29
31
30
- - run : ./tools/build_clangrt_builtins.sh -t ${{ matrix.target.core }} -o artifact/arch/${{ matrix.target.se }}/lib
32
+ - name : Comiple and copy Clang compiler-rt runtime library
33
+ run : |
34
+ ./tools/build_clangrt_builtins.sh -t ${{ matrix.target.core }} -o artifact/arch/${{ matrix.target.se }}/lib
35
+
36
+ - name : Copy libc and libm from newlib
37
+ run : |
38
+ cp ${{ matrix.target.newlib_arch_path }}/libm.a artifact/arch/${{ matrix.target.se }}/lib
39
+ cp ${{ matrix.target.newlib_arch_path }}/libc.a artifact/arch/${{ matrix.target.se }}/lib
31
40
32
41
- uses : actions/upload-artifact@v4
33
42
with :
You can’t perform that action at this time.
0 commit comments