Results 1 to 4 of 4

Thread: Is LLVM strictly required for building Mesa(Gallium/Radeon)?

  1. #1
    Join Date
    Jan 2013
    Posts
    906

    Default Is LLVM strictly required for building Mesa(Gallium/Radeon)?

    I am trying to build Mesa master 10.0-git and it seems regardless if I set --disable-galllium-llvm and --disable-r600-llvm-compiler configure-time option, the configure still searches and requires LLVM >3.3. Is it a hard dependency? Is it required, if I just want to use shader optimizer and no LLVM whenever possible? Thanks!

  2. #2
    Join Date
    Aug 2012
    Location
    Pennsylvania, United States
    Posts
    1,738

    Default

    Quote Originally Posted by brosis View Post
    I am trying to build Mesa master 10.0-git and it seems regardless if I set --disable-galllium-llvm and --disable-r600-llvm-compiler configure-time option, the configure still searches and requires LLVM >3.3. Is it a hard dependency? Is it required, if I just want to use shader optimizer and no LLVM whenever possible? Thanks!
    Is there an OpenCL build switch? LLVM is required for OpenCL. Other option, try disabling RadeonSI build support-- I'm not positive but LLVM may be required for RadeonSI

  3. #3
    Join Date
    Jul 2009
    Location
    Germany
    Posts
    438

    Default

    if you just want r600g this should work:

    Code:
    --with-dri-drivers= --with-gallium-drivers=r600 --disable-gallium-llvm
    for radeonsi you need llvm.

  4. #4
    Join Date
    Jan 2013
    Posts
    906

    Default

    Okay, thanks a bunch! That worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •