Libdrm built using Ninja

Moderator: Forum moderators

Post Reply
User avatar
Jasper
Posts: 1589
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 674 times
Been thanked: 357 times

Libdrm built using Ninja

Post 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:

User avatar
josejp2424
Posts: 167
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 196 times
Been thanked: 103 times

Re: Libdrm built using Ninja

Post 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
Last edited by josejp2424 on Mon Jun 12, 2023 2:58 pm, edited 1 time in total.
User avatar
Jasper
Posts: 1589
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 674 times
Been thanked: 357 times

Re: Libdrm built using Ninja

Post by Jasper »

@josejp2424

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

Post Reply

Return to “Compiling”