avr-llvm / llvm

[MERGED UPSTREAM] AVR backend for the LLVM compiler library
220 stars 21 forks source link

AVR target missing in official repo (LLVM_ALL_TARGETS)? #234

Closed robindegen closed 7 years ago

robindegen commented 7 years ago

I see that AVR llvm is meant to be merged in the llvm upstream, but AVR appears to be missing in LLVM_ALL_TARGETS. Is that on purpose?

dylanmckay commented 7 years ago

Hey @robindegen

The AVR backend exists in the LLVM repository but is considered an experimental target, meaning that it is not compiled to default.

In order to compile the backend, pass -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR to cmake.

Be aware that the AVR backend does not currently compile (due to breaking API changes in LLVM), I will work on fixing this now, shouldn't take long.

dylanmckay commented 7 years ago

You can see the current build error via http://lab.llvm.org:8014/builders/llvm-avr-linux/builds/3534.

dylanmckay commented 7 years ago

I've fixed the error in upstream commit r306923.

robindegen commented 7 years ago

@dylanmckay Thanks for your quick response and fix. I'll have a test most likely this afternoon.