[Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2
Michel Dänzer
michel at daenzer.net
Wed Sep 14 03:26:45 UTC 2016
On 14/09/16 02:53 AM, Marek Olšák wrote:
>
> cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu
> -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=O
> -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".
FWIW, I recommend enabling assertions, i.e. setting
-DLLVM_ENABLE_ASSERTIONS=1 and removing -DNDEBUG.
> -DLLVM_BUILD_32_BITS=ON
Hah, didn't know about this, I manually added -m32 to C(XX)FLAGS. Thanks.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list