<div dir="ltr"><div><div><div><div>Hi.<br></div>I noticed that in llvm revision 184924 it was added the option 'bootstrap-only' to 'LLVM_INCLUDE_TOOL', but it is a BOOL type, so when you try to change the settings with cmake-gui, it resets the 'LLVM_INCLUDE_TOOL' to 'ON', messing with the configuration.<br>
<br></div>This patch changes the 'LLVM_INCLUDE_TOOL' type to STRING and made a check which fatal exit if the given value to 'LLVM_INCLUDE_TOOL' is different from 'ON', 'OFF' and 'bootstrap-only', in order to prevent weird behavior in cmake configuration.<br>
<br>Probably it requires an user change to CMakeCache.txt in order to replace 'LLVM_INCLUDE_TOOL:BOOL' with 'LLVM_INCLUDE_TOOL:STRING', but it should be okay, I hope.<br><br></div>In this patch I changed the docs as well (I hope I did not use wrong syntax...).<br>
<br></div>Edward-san<br><div><div><div><div><div><div>-- <br>Mathematics is the language with which God has written the universe. (Galilei)
</div></div></div></div></div></div></div>