Issue with building source
Started by Chaoscode




7 posts in this topic
gopalsr83
Unregistered


 
12-01-2014, 07:36 PM -
#6
(12-01-2014, 03:58 PM)Bigpet Wrote: the cmake file of rpcs3 uses the systems version of llvm instead of trying to compile it anew for now. So install your distros llvm libs or compile and install the llvm subdirectory before using the main cmake file.

Some additions to the above:

1. You must install LLVM 3.5 libs/headers. I am not sure if it will compile with other versions of LLVM.

2. In case you cannot get the LLVM 3.5 libs/headers for your distro or if the libs/headers provided by your distro are missing the LLVM cmake config files (I faced that problem with Ubuntu precise), you can compile LLVM from source and install it to your distro. The procedure to do so is as follows:

cd <rpcs3 directory>
git submodule update --init llvm
cd llvm_build
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF ../llvm
make -j 4
sudo make install


Messages In This Thread
RE: Issue with building source - by Chaoscode - 11-23-2014, 11:22 PM
RE: Issue with building source - by tambre - 11-24-2014, 04:18 PM
RE: Issue with building source - by Bigpet - 11-24-2014, 05:01 PM
RE: Issue with building source - by t3rdball - 12-01-2014, 02:34 PM
RE: Issue with building source - by Bigpet - 12-01-2014, 03:58 PM
RE: Issue with building source - by gopalsr83 - 12-01-2014, 07:36 PM
RE: Issue with building source - by Darkriot - 12-02-2014, 12:15 PM
RE: Issue with building source - by CarlosMn - 01-14-2015, 08:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)