Skip to content

libraries/compiler-rt-builtins-riscv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The LLVM compiler runtime (compiler-rt) is essential in clang-based builds. However, it should be noted that the compiler-rt is exclusively accessible in the form of source code for RISC-V targets. Consequently, within this project, we possess the capability to construct it entirely from scratch.

Build

To build it, run make, the static library will be generated at build/libcompiler-rt.a. Then use following Makefile configuration:

LDFLAGS += -L./build -lcompiler-rt

Source

This project is completely from the llvm project:

  • Repo: https://github.com/llvm/llvm-project
  • Branch: release/16.x
  • Commit: 7cbf1a259

At the same time, we pulled the following commit from LLVM main branch to fix some bugs in clang-16:

See more: https://github.com/llvm/llvm-project/blob/release/16.x/compiler-rt/lib/builtins/README.txt

About

RISC-V LLVM compiler runtime (compiler-rt)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 55.9%
  • Assembly 39.0%
  • CMake 2.8%
  • C++ 1.8%
  • Makefile 0.5%