Hi Patryk, It appears that you have an incomplete LLVM installation. As per the INSTALL file, adding -DLLVM_OPTS=OFF to the cmake command line will disable the attempt to build the LLVM optimisation passes. I may make this the default for 1.7.1, since a few people have had problems with it.
David On 25 Dec 2013, at 05:45, Patryk Laurent <[email protected]> wrote: > Hello, > > When I try to use cmake on Ubuntu 13.10, as per > http://wiki.gnustep.org/index.php/GNUstep_under_Ubuntu_Linux, I get the > following error: > > CMake Error at CMakeLists.txt:5 (add_llvm_tool_subdirectory): > Unknown CMake command "add_llvm_tool_subdirectory”. > > I’ve included the full output of the cmake command below. The version of > cmake installed with apt-get in Ubuntu 13.10 is 2.8.11.2. Adding > cmake_minimum_required(VERSION 2.8.8) to the top of CMakeLists.txt did not > seem to help. > > Any suggestions on how to get this working would be most welcome. > > Thank you, > Patryk > > > > > > The full output of the cmake command is: > > patryk@paklbox:~/llvm/tools/build$ cmake --version > cmake version 2.8.11.2 > patryk@paklbox:~/llvm/tools/build$ cmake .. > -- The C compiler identification is GNU 4.8.1 > -- The CXX compiler identification is GNU 4.8.1 > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > CMake Error at CMakeLists.txt:5 (add_llvm_tool_subdirectory): > Unknown CMake command "add_llvm_tool_subdirectory". > > > CMake Warning (dev) in CMakeLists.txt: > No cmake_minimum_required command is present. A line of code such as > > cmake_minimum_required(VERSION 2.8) > > should be added at the top of the file. The version specified may be lower > if you wish to support older CMake versions for this project. For more > information run "cmake --help-policy CMP0000". > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Configuring incomplete, errors occurred! > patryk@paklbox:~/llvm/tools/build$ > > > > > > > > _______________________________________________ > Discuss-gnustep mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnustep -- Sent from my Difference Engine _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
