Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1233
|
Posted: Sun Apr 28, 2024 2:09 pm Post subject: Compilation of mesa 23.1.6 with my package manager |
|
|
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 |
|