forked from glmark2/glmark2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
36 lines (21 loc) · 853 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Meson build system
------------------
glmark2 uses the meson build system for the most common build flavors (X11,
Wayland, DRM).
To configure glmark2 use:
$ meson setup build -Dflavors=drm-gl,drm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2 [-Ddata-path=DATA_PATH --prefix=PREFIX]
To build use:
$ ninja -C build
To install use:
$ [DESTDIR=<destdir>] ninja -C build install
WAF build system
----------------
glmark2 previously used the WAF build system, and the builds for some flavors
(dispmanx, win32, mir) have not been ported to the meson build system. For such
cases follow the instructions below.
To configure glmark2 use:
$ ./waf configure --with-flavors=dispmanx-glesv2,win32-gl,win32-glesv2,mir-gl,mir-glesv2... [--data-path=DATA_PATH --prefix=PREFIX]
To build use:
$ ./waf
To install use:
$ ./waf install --destdir=DESTDIR