This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with building source
#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
Reply


Messages In This Thread
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
Issue with building source - by CarlosMn - 01-14-2015, 08:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)