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

Marek Olšák maraeo at gmail.com
Thu Sep 15 20:05:37 UTC 2016


On Thu, Sep 15, 2016 at 3:44 AM, Michel Dänzer <michel at daenzer.net> wrote:
> 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? :)

That's a good point. I don't remember. :)

Marek


More information about the mesa-dev mailing list