Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compilation of mesa 23.1.6 with my package manager
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1233

PostPosted: Sun Apr 28, 2024 2:09 pm    Post subject: Compilation of mesa 23.1.6 with my package manager Reply with quote

Hi guys, I am coding actually from a while a package manager, it go very well ! I just face an issue actually to compile mesa 23.1.6. I have that error:

Log: https://textup.fr/776298FN

Code:
ubuntu@ubuntu:/usr/share/ism$ ism settings -s
Current ISM settings:
         Default mirror: Uk
         Secure mode: false
         Install by chroot: true
         Root path: /mnt/ism/
         System name: Unknow
         Target name: unknow
         Architecture: x86_64
         Target: x86_64-unknow-linux-gnu
         Make options: -j8
         Build options: -march=native -O2 -pipe
         =========================
         Chroot System name: Unknow
         Chroot Target name: unknow
         Chroot Architecture: x86_64
         Chroot Target: x86_64-unknow-linux-gnu
         Chroot Make options: -j8
         Chroot Build options: -march=native -O2 -pipe


Xrandr is installed as well if you was wondering:

Code:
ubuntu@ubuntu:/usr/share/ism$ ism software -se xrandr

Port: @XorgBase-Main
Name: Xrandr
Description: Command line interface to X11 Resize Rotate and Reflect extension
Available(s) architecture(s): x86_64
Website: https://www.x.org
Available(s) Version(s): 1.5.1 | 1.5.2
Installed Version(s):
   | 1.5.2 { }
Unique dependencies setted: None
Current options setted: None
Current local patches: None

============

Port: @GraphicsLibraries-Main
Name: LibXrandr
Description: Xlib Resize Rotate and Reflection (RandR) extension library
Available(s) architecture(s): x86_64
Website: https://www.x.org
Available(s) Version(s): 1.5.2 | 1.5.3
Installed Version(s):
   | 1.5.3 { }
Unique dependencies setted: None
Current options setted: None
Current local patches: None


That is the installation script, I am sure you will get quickly which options I passed (https://github.com/Fulgurance/GraphicsLibraries-Main/blob/master/Mesa/23.1.6/23.1.6.cr):

Code:
class Target < ISM::Software

    def prepare
        @buildDirectory = true
        super
    end
   
    def configure
        super

        runMesonCommand([   "setup",
                            "--reconfigure",
                            "-Dauto_features=disabled",
                            @buildDirectoryNames["MainBuild"],
                            "--prefix=/usr",
                            "--buildtype=release",
                            "-Dplatforms=x11,wayland",
                            "-Dgallium-drivers=auto",
                            "-Dvulkan-drivers=\"\"",
                            "-Dvalgrind=disabled",
                            "-Dlibunwind=disabled",
                            "-Dshared-glapi=enabled",
                            "-Dllvm=enabled",
                            "-Degl=enabled",
                            "-Ddri3=enabled"],
                            mainWorkDirectoryPath)
    end
   
    def build
        super

        runNinjaCommand(path: buildDirectoryPath)
    end
   
    def prepareInstallation
        super

        runNinjaCommand(["install"],buildDirectoryPath,{"DESTDIR" => "#{builtSoftwareDirectoryPath}#{Ism.settings.rootPath}"})
    end

end


Let me know if you need some details
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum