ubuntu@ubuntu:~/workspace/cpp.machinarium/deps/llvm-project$ cmake -S llvm -B build -DWARNINGS=OFF
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- libcxx project is disabled
-- libcxxabi project is disabled
-- libunwind project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- parallel-libs project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 6: /home/ubuntu/work: not foundachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 8: /home/ubuntu/work: not foundachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 28: /home/ubuntu/wor: not foundmachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 29: /home/ubuntu/wor: not foundmachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 40: /home/ubuntu/wor: not foundmachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 42: /home/ubuntu/wor: not foundmachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 54: /home/ubuntu/wor: not foundmachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 65: /home/ubuntu/wor: not foundmachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 68: /home/ubuntu/wor: not foundmachinarium/deps/llvm-project/llvm/cmake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 71: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: Syntax error: word unexpected (expecting "in")
CMake Error at cmake/modules/GetHostTriple.cmake:54 (message):
Failed to execute
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess
Call Stack (most recent call first):
cmake/config-ix.cmake:412 (get_host_triple)
CMakeLists.txt:689 (include)
-- Configuring incomplete, errors occurred!
ubuntu@ubuntu:~/workspace/cpp.machinarium/deps/llvm-project$
ubuntu@ubuntu:~/workspace/cpp.machinarium/deps/llvm-project$ cmake -S llvm -B build
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- libcxx project is disabled
-- libcxxabi project is disabled
-- libunwind project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- parallel-libs project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Found LibXml2: /usr/lib/i386-linux-gnu/libxml2.so (found version "2.9.3")
-- Looking for xmlReadMemory
-- Looking for xmlReadMemory - found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 6: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proje: not foundke/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 8: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proje: not foundke/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 28: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proj: not foundake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 29: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proj: not foundake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 40: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proj: not foundake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 42: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proj: not foundake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 54: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proj: not foundake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 65: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proj: not foundake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 68: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-proj: not foundake/config.guess:
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 71: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: Syntax error: word unexpected (expecting "in")
CMake Error at cmake/modules/GetHostTriple.cmake:54 (message):
Failed to execute
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess
Call Stack (most recent call first):
cmake/config-ix.cmake:412 (get_host_triple)
CMakeLists.txt:689 (include)
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/build/CMakeFiles/CMakeError.log".
#include <stdlib.h>
std::string s = std::string(Machinarium::DataStorages::SelfContainStorage::GetPathToRunningObject().make_preferred().string());