[LLVMdev] Can't Use cmake?

John Criswell criswell at cs.rochester.edu
Fri Jun 19 10:49:50 PDT 2015


Dear Peter,

SAFECode never used CMake; it used the older Autoconf-based build 
system.  You need to compile LLVM per the Autoconf instructions 
(http://llvm.org/docs/BuildingLLVMWithAutotools.html) which should match 
the instructions for building LLVM in the SAFECode Install Guide (modulo 
the change in LLVM version).

Per a recent discussion we've been having on llvmdev, we'll eventually 
be moving over to CMake style builds, but for now, the Autoconf-style 
builds should still work.

Regards,

John Criswell


On 6/19/15 12:42 PM, Peter Finn wrote:
> Hello,
>
> I’m trying to get the SAFECode compiler up and running for work I’ll be doing, and in trying to configure LLVM (according to the information at https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_docs_GettingStarted.html&d=AwIFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=fdMDFHMrifGoCz8oJsL-bhyCedLfUlcYK7E598pdzZY&m=4UDnViKsL_dU5l7_EI7tMecl05gTNUTBnxetxZfMqH0&s=exi-gBReNgdIItE9V5xNc3jsEUTrWAW3oblOSQBz0Cc&e= ), I ran into some confusion.  In step 8 in the section "Getting Started Quickly (A Summary)”, I realized that I wouldn’t be able to follow the steps exactly as described, because they tell me to create a new directory called “build” and then cd to it and try to use cmake.  How was this supposed to work, given that I’m doing this from a newly created empty directory?  Every time I try it, bash tells me that the command “cmake” wasn’t found.  What am I supposed to do here?
>
> Thank you,
> Peter Finn


-- 
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
http://www.cs.rochester.edu/u/criswell






More information about the llvm-dev mailing list