File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
zorg/buildbot/builders/annotated Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -99,16 +99,15 @@ def main(argv):
99
99
cmake_args .extend (['-DLLVM_LIBC_FULL_BUILD=ON' ]),
100
100
101
101
if riscv32_build :
102
- cmake_args .append ('-DCMAKE_C_FLAGS=-mabi=ilp32d -march=rv32imafdc \
103
- --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot \
104
- --gcc-toolchain=/opt/riscv' )
105
- cmake_args .append ('-DCMAKE_CXX_FLAGS=-mabi=ilp32d -march=rv32imafdc \
106
- --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot \
107
- --gcc-toolchain=/opt/riscv' )
102
+ cmake_args .append ('-DCMAKE_C_FLAGS=-mabi=ilp32d -march=rv32imafdc --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot --gcc-toolchain=/opt/riscv' )
103
+ cmake_args .append ('-DCMAKE_CXX_FLAGS=-mabi=ilp32d -march=rv32imafdc --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot --gcc-toolchain=/opt/riscv' )
108
104
cmake_args .append ('-DCMAKE_EXE_LINKER_FLAGS_INIT=-fuse-ld=lld' )
109
105
cmake_args .append ('-DCMAKE_CROSSCOMPILING_EMULATOR={}/cross.sh' .format (os .getenv ('HOME' )))
110
106
cmake_args .append ('-DLIBC_TARGET_TRIPLE=riscv32-unknown-linux-gnu' )
111
107
cmake_args .append ('-DCMAKE_SYSTEM_NAME=Linux' )
108
+ cmake_args .append ('-DLLVM_HOST_TRIPLE=riscv32-unknown-linux-gnu' )
109
+ cmake_args .append ('-DLLVM_TARGETS_TO_BUILD=RISCV' )
110
+ cmake_args .append ('-DCMAKE_LINKER=/usr/bin/ld.lld' )
112
111
113
112
run_command (['cmake' , os .path .join (source_dir , 'llvm' )] + cmake_args )
114
113
You can’t perform that action at this time.
0 commit comments