Skip to content

Work-in-progress: writing a secondary llvm toolchain layer for poky

Notifications You must be signed in to change notification settings

rwmacleod/meta-tc-llvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

meta-tc-llvm

This is currently a work-in-progress. It will need refinement overtime. This work is based on earlier work by Mark Hatle hosted at this wiki page: Adding a secondary toolchain

Status

Able to build all the packages for core-image-minimal except the following:

  • linux-yocto-tiny
  • dtc
  • elfutils
  • gcc
  • gcc-cross
  • gcc-cross-initial
  • gcc-runtime
  • prelink
  • eglibc
  • rpm
  • libgcc
  • e2fsprogs

Some of the packages that do build require patches either from upstream or the ones added by me to my poky repository.

Installation

Clone this repository into your poky directory.

git clone https://github.com/mtahmed/poky.git
cd poky
git clone https://github.com/mtahmed/meta-tc-llvm.git

Then build clang and install to poky/meta-tc-llvm directory so that the poky/meta-tc-llvm/bin/ has the llvm+clang binaries and poky/meta-tc-llvm/lib has the llvm+clang libraries.

Usage

After the source oe-init-build-env build-dir, change bblayers.conf file to include the meta-tc-llvm layer and change the other conf/local.conf file as needed.

Contact

About

Work-in-progress: writing a secondary llvm toolchain layer for poky

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published