<div dir="ltr">Fixed the warning in <span style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:10px;line-height:normal;text-align:center;background-color:rgb(238,238,238)">r246984.</span><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 7, 2015 at 9:42 PM Keith Smith via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just got the latest sources from <a href="http://llvm.org/svn/llvm-project/xxxx/trunk" rel="noreferrer" target="_blank">http://llvm.org/svn/llvm-project/xxxx/trunk</a><br>
<br>
[Shell script below]<br>
<br>
I then built LLVM using CMAKE and without OCAML.<br>
<br>
My version of cmake is 3.3.1. I did built it myself.<br>
<br>
I get the following. Thought the list should know.<br>
<br>
Keith smith<br>
<br>
./clangcmake.sh<br>
-- Target triple: x86_64-unknown-linux-gnu<br>
-- Native target architecture is X86<br>
-- Threads enabled.<br>
-- Doxygen disabled.<br>
-- Sphinx disabled.<br>
-- Go bindings disabled.<br>
-- OCaml bindings disabled, need ctypes >=0.4.<br>
-- Building with -fPIC<br>
-- Constructing LLVMBuild project information<br>
-- Targeting X86<br>
-- Compiler-RT supported architectures: x86_64<br>
-- Clang version: 3.8.0<br>
CMake Warning (dev) at cmake/modules/AddLLVM.cmake:5 (get_property):<br>
Policy CMP0051 is not set: List TARGET_OBJECTS in SOURCES target property.<br>
Run "cmake --help-policy CMP0051" for policy details. Use the cmake_policy<br>
command to set the policy and suppress this warning.<br>
<br>
Target "clang-tblgen" contains $<TARGET_OBJECTS> generator expression in<br>
its sources list. This content was not previously part of the SOURCES<br>
property when that property was read at configure time. Code reading that<br>
property needs to be adapted to ignore the generator expression using the<br>
string(GENEX_STRIP) command.<br>
Call Stack (most recent call first):<br>
cmake/modules/AddLLVM.cmake:600 (llvm_update_compile_flags)<br>
cmake/modules/AddLLVM.cmake:680 (add_llvm_executable)<br>
cmake/modules/TableGen.cmake:82 (add_llvm_utility)<br>
tools/clang/utils/TableGen/CMakeLists.txt:3 (add_tablegen)<br>
This warning is for project developers. Use -Wno-dev to suppress it.<br>
<br>
-- Configuring done<br>
-- Generating done<br>
<br>
<br>
================================<br>
Shell script to get LLVM source<br>
<br>
<br>
#!/bin/sh<br>
# Shell script to get llvm and clang source<br>
#<br>
# See <a href="http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary" rel="noreferrer" target="_blank">http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary</a><br>
#<br>
# This script is run from the parent directory where<br>
# you want the 'llvm' tree to start.<br>
<br>
# Checkout LLVM<br>
# Change directory to where you want the llvm directory placed.<br>
svn co <a href="http://llvm.org/svn/llvm-project/llvm/trunk" rel="noreferrer" target="_blank">http://llvm.org/svn/llvm-project/llvm/trunk</a> llvm<br>
<br>
# Checkout Clang:<br>
cd llvm/tools<br>
svn co <a href="http://llvm.org/svn/llvm-project/cfe/trunk" rel="noreferrer" target="_blank">http://llvm.org/svn/llvm-project/cfe/trunk</a> clang<br>
cd ../..<br>
<br>
# Checkout Compiler-RT:<br>
cd llvm/projects<br>
svn co <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk" rel="noreferrer" target="_blank">http://llvm.org/svn/llvm-project/compiler-rt/trunk</a> compiler-rt<br>
cd ../..<br>
<br>
# Checkout libcxx and libcxxabi [Optional]:<br>
cd llvm/projects<br>
svn co <a href="http://llvm.org/svn/llvm-project/libcxx/trunk" rel="noreferrer" target="_blank">http://llvm.org/svn/llvm-project/libcxx/trunk</a> libcxx<br>
svn co <a href="http://llvm.org/svn/llvm-project/libcxxabi/trunk" rel="noreferrer" target="_blank">http://llvm.org/svn/llvm-project/libcxxabi/trunk</a> libcxxabi<br>
cd ../..<br>
<br>
# Checkout extra Clang Tools [Optional]:<br>
# This gets the source for scan-view and scan-build<br>
cd llvm/tools/clang/tools<br>
svn co <a href="http://llvm.org/svn/llvm-project/clang-tools-extra/trunk" rel="noreferrer" target="_blank">http://llvm.org/svn/llvm-project/clang-tools-extra/trunk</a> extra<br>
cd ../../../..<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>