OSDN Git Service

Remove RISCV from LLVM_ALL_TARGETS in CMakeLists.txt
authorAlex Bradbury <asb@lowrisc.org>
Sun, 13 Aug 2017 18:49:33 +0000 (18:49 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Sun, 13 Aug 2017 18:49:33 +0000 (18:49 +0000)
commitf4d006a8c841c2222e553389ce03eb17ff651dde
treee2adfd439006546525ef3c14f8b5dada615c3092
parent5c791157e86fc00b3af92b4db0f48900838379ba
Remove RISCV from LLVM_ALL_TARGETS in CMakeLists.txt

It was mistakenly added to that list in D23560 (committed in rL285712). RISCV
is an experimental backend and should never have been in that list, I
mistakenly interpreted LLVM_ALL_TARGETS as a list of all targets rather than
targets to build by default. Unfortunately, because of this the RISCV backend
has been building by default when it shouldn't be.

This commet adds a description comment, which should help to avoid such
mistakes in the future.

See my message to llvm-dev for more information and analysis
<http://lists.llvm.org/pipermail/llvm-dev/2017-August/116347.html>.

Differential Revision: https://reviews.llvm.org/D36538

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310796 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt