[Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

Michel Dänzer michel at daenzer.net
Thu Sep 15 01:44:44 UTC 2016


On 14/09/16 07:41 PM, Marek Olšák wrote:
> 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.

Doesn't -DNDEBUG disable assertions anyway though? When was the last
time an LLVM assertion failed for you? :)


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list