[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

llvm-toolchain-9 available for riscv64



Dear all,

I have managed to build llvm-toolchain-9 for riscv64 using a few patches
and small changes to the rules file. The support has already been merged
in the pkg-llvm repository, so it will get available in the archive for
the next upload.

In the meantime, I have built the packages they are available there, in
case someone wants to play with them, bootstrap rust, etc. :

https://temp.aurel32.net/riscv64/llvm-toolchain-9/

(I'll remove that directory once we get it properly into the archive)

There are a few limitations though:
- I took the current pkg-llvm git and applied my changes over it. I got
  the version wrong doing that. I am not planning to rebuild it, it
  takes a bit more than a day to build it on an HFU board.
- clang uses GCC to determine where to find libraries. When gcc-9 is
  only partially installed (i.e. only gcc-9-base), it fails to find
  them, so you should make sure it's fully installed. That's also true
  for building the package. That will get fixed/workarounded once gcc-9
  is the default.
- Everything is only lightly tested.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

Attachment: signature.asc
Description: PGP signature


Reply to: