summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Core.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-07-14 01:17:43 +0000
committerChris Bieneman <beanz@apple.com>2015-07-14 01:17:43 +0000
commit3da1b6e260f4730bf0c89f86e0231988d5d6de2d (patch)
tree9b8687965a2ddcf1b08c6abe50511b8b4b8b72f9 /llvm/lib/IR/Core.cpp
parent98d0a4b39a89ad4d667d9150a008a0c36be94f1f (diff)
downloadbcm5719-llvm-3da1b6e260f4730bf0c89f86e0231988d5d6de2d.tar.gz
bcm5719-llvm-3da1b6e260f4730bf0c89f86e0231988d5d6de2d.zip
[CMake] We shouldn't be storing values in the cache unless they actually need CMake cache behavior.
add_llvm_external_project puts LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR into the cache even if it is just the in-tree default path. This causes all sorts of oddness, and makes it so that I can't change the behavior of this variable. This patch never puts LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR into the cache. It will only end up in the cache if it is specified on the command line, which is the correct behavior. There is also a temporary change to remove non-default values from the cache if they are already present. This should have the impact of cleaning out unncecissary values from the caches on the buildbots and people's local build directories. This part of the change is marked with a TODO and can be removed in a few days. llvm-svn: 242102
Diffstat (limited to 'llvm/lib/IR/Core.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud