[Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2
Romain Failliot
romain.failliot at foolstep.com
Thu Sep 15 03:04:12 UTC 2016
2016-09-13 13:53 GMT-04:00 Marek Olšák <maraeo at gmail.com>:
> LLVM 32-bit:
>
> mkdir -p build32
> cd build32
> cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/i386-linux-gnu
> -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=ON
> -DCMAKE_BUILD_TYPE=RelWithDebInfo
> -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON \
> -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG
> -fno-omit-frame-pointer" \
> -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG
> -fno-omit-frame-pointer" \
> -DLLVM_BUILD_32_BITS=ON
I have a problem with the 32-bit compilation of llvm.
I get this error:
-- Target triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Sphinx disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Building with -fPIC
-- Building 32 bits executables and libraries.
CMake Error at cmake/modules/HandleLLVMOptions.cmake:469 (message):
LLVM requires C++11 support but the '-std=c++11' flag isn't supported.
Call Stack (most recent call first):
CMakeLists.txt:473 (include)
-- Configuring incomplete, errors occurred!
I don't know why my LLVM doesn't handle C++11... Any idea?
More information about the mesa-dev
mailing list