[Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2
Marek Olšák
maraeo at gmail.com
Wed Sep 14 10:41:48 UTC 2016
On Wed, Sep 14, 2016 at 5:26 AM, Michel Dänzer <michel at daenzer.net> wrote:
> 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.
That should have been:
-DLLVM_ENABLE_ASSERTIONS=ON \
It was cut when I was copy-pasting it.
Marek
More information about the mesa-dev
mailing list