Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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
    All opinions are my own not those of my employer if you know who they are.

    Comment


    • #3
      if you just want r600g this should work:

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

      Comment


      • #4
        Okay, thanks a bunch! That worked!

        Comment

        Working...
        X