Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
CSDN20220413
rt-thread
提交
ca873fae
R
rt-thread
项目概览
CSDN20220413
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ca873fae
编写于
5月 17, 2023
作者:
G
guozhanxin
提交者:
mysterywolf
5月 17, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[add] llvm-arm workflows
上级
82ccbc40
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
16 addition
and
2 deletion
+16
-2
.github/workflows/action.yml
.github/workflows/action.yml
+15
-1
components/libc/compilers/common/extension/SConscript
components/libc/compilers/common/extension/SConscript
+1
-1
未找到文件。
.github/workflows/action.yml
浏览文件 @
ca873fae
...
...
@@ -280,6 +280,10 @@ jobs:
-
"
bluetrum/ab32vg1-ab-prougen"
-
"
bouffalo_lab/bl60x"
-
"
bouffalo_lab/bl70x"
-
RTT_BSP
:
"
llvm-arm"
RTT_TOOL_CHAIN
:
"
llvm-arm"
SUB_RTT_BSP
:
-
"
stm32/stm32l475-atk-pandora"
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Set up Python
...
...
@@ -291,7 +295,7 @@ jobs:
shell
:
bash
run
:
|
sudo apt-get update
sudo apt-get -qq install gcc-multilib libncurses5-dev scons
sudo apt-get -qq install gcc-multilib libncurses5
libncurses5-dev libncursesw5
-dev scons
sudo python -m pip install --upgrade pip -qq
pip install requests -qq
git config --global http.postBuffer 524288000
...
...
@@ -308,6 +312,16 @@ jobs:
/opt/gcc-arm-none-eabi-10-2020-q4-major/bin/arm-none-eabi-gcc --version
echo "RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-10-2020-q4-major/bin" >> $GITHUB_ENV
-
name
:
Install LLVM-Arm ToolChains
if
:
${{ matrix.legs.RTT_TOOL_CHAIN == 'llvm-arm' && success() }}
shell
:
bash
run
:
|
wget -q https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases/download/release-16.0.0/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64.tar.gz
sudo tar zxf LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64.tar.gz -C /opt
/opt/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64/bin/clang --version
echo "RTT_CC=llvm-arm" >> $GITHUB_ENV
echo "RTT_EXEC_PATH=/opt/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64/bin" >> $GITHUB_ENV
-
name
:
Install AArch64 ToolChains
if
:
${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-aarch64' && success() }}
shell
:
bash
...
...
components/libc/compilers/common/extension/SConscript
浏览文件 @
ca873fae
...
...
@@ -9,7 +9,7 @@ group = []
src
+=
Glob
(
'*.c'
)
if
rtconfig
.
PLATFORM
!=
'gcc'
and
rtconfig
.
PLATFORM
!=
'llvm-arm'
:
if
rtconfig
.
PLATFORM
not
in
[
'gcc'
,
'llvm-arm'
]
:
group
=
DefineGroup
(
'Compiler'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
list
=
os
.
listdir
(
cwd
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录