Skip to content

Commit 641d77f

Browse files
committed
Add target & target-abi for riscv to wamrc
Signed-off-by: Huang Qi <[email protected]>
1 parent 37c45b9 commit 641d77f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

core/iwasm/compilation/aot_llvm.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,14 +1087,22 @@ static ArchItem valid_archs[] = {
10871087
{ "thumbv8r", true },
10881088
{ "thumbv8m.base", true },
10891089
{ "thumbv8m.main", true },
1090-
{ "thumbv8.1m.main", true }
1090+
{ "thumbv8.1m.main", true },
1091+
{ "riscv32", true},
1092+
{ "riscv64", true}
10911093
};
10921094

10931095
static const char *valid_abis[] = {
10941096
"gnu",
10951097
"eabi",
10961098
"gnueabihf",
1097-
"msvc"
1099+
"msvc",
1100+
"ilp32",
1101+
"ilp32f",
1102+
"ilp32d",
1103+
"lp64",
1104+
"lp64f",
1105+
"lp64d"
10981106
};
10991107

11001108
static void

0 commit comments

Comments
 (0)