riscv: Enable clang

Signed-off-by: Stefan O'Rear <sorear@fastmail.com>
This commit is contained in:
Stefan O'Rear 2020-08-01 23:59:31 -04:00 committed by G. Branden Robinson
parent f68eaf49fd
commit 53ab30a472

View file

@ -11,9 +11,6 @@ set(CMAKE_SYSTEM_NAME Generic)
# obvious if someone accidentally uses it
set(CMAKE_SYSTEM_PROCESSOR seL4CPU)
if(KernelArchRiscV)
message(FATAL_ERROR "Riscv is not yet supported when compiling with clang")
endif()
set(LLVM_TOOLCHAIN ON)
set(CROSS_COMPILER_PREFIX ${TRIPLE}-)