Page 1 of 1

Libdrm built using Ninja

Posted: Thu Dec 22, 2022 2:32 pm
by Jasper

Hi there

Can someone give me some pointers on how to use Ninja correctly?

I compiled libdrm and I wanted it to place the files in the correct location instead of having to this manually.

Some advice/suggestions would be welcome :thumbup:


Re: Libdrm built using Ninja

Posted: Mon Jun 12, 2023 12:04 pm
by josejp2424
Jasper wrote: Thu Dec 22, 2022 2:32 pm

Hi there

Can someone give me some pointers on how to use Ninja correctly?

I compiled libdrm and I wanted it to place the files in the correct location instead of having to this manually.

Some advice/suggestions would be welcome :thumbup:

example with the package libdrm_2.4.114.tar.xz

Code: Select all

tar -xf  /root/libdrm_2.4.114.tar.xz

Code: Select all

cd /root/libdrm-2.4.114

Code: Select all

meson setup -Dprefix=/usr --libdir=/usr/lib/x86_64-linux-gnu build

.

and to keep it in a specific folder.

Code: Select all

DESTDIR=/root/libdrm-2.4.114_amd64 ninja -C build install

Re: Libdrm built using Ninja

Posted: Mon Jun 12, 2023 2:37 pm
by Jasper

@josejp2424

Thanks for reading my message and providing me with instructions :thumbup: