comparison src/mesa.mk @ 4511:0117b5797a5c

mesa: Depend on llvm for native opengl builds.
author John W. Eaton <jwe@octave.org>
date Mon, 16 Oct 2017 18:04:56 -0400
parents 4c645e979279
children 1fdd8063e38d
comparison
equal deleted inserted replaced
4510:140689282d54 4511:0117b5797a5c
20 --with-gallium-drivers="" --with-dri-drivers="" \ 20 --with-gallium-drivers="" --with-dri-drivers="" \
21 --with-platforms="" 21 --with-platforms=""
22 else 22 else
23 $(PKG)_CONFIGURE_OPENGL_OPTIONS := \ 23 $(PKG)_CONFIGURE_OPENGL_OPTIONS := \
24 --enable-opengl --enable-egl --enable-gles1 --enable-gles2 \ 24 --enable-opengl --enable-egl --enable-gles1 --enable-gles2 \
25 --enable-dri --enable-glx="dri" \ 25 --with-gallium-drivers="swrast" --with-dri-drivers="" \
26 --with-gallium-drivers="" --with-dri-drivers="swrast" \
27 --with-platforms="x11" 26 --with-platforms="x11"
28 ifeq ($(USE_SYSTEM_X11_LIBS),no) 27 ifeq ($(USE_SYSTEM_X11_LIBS),no)
29 $(PKG)_DEPS += dri2proto glproto libdrm libxshmfence x11 xdamage xext xfixes 28 $(PKG)_DEPS += dri2proto glproto libdrm libxshmfence x11 xdamage xext xfixes
30 endif 29 endif
30 $(PKG)_DEPS += llvm
31 endif 31 endif
32 endif 32 endif
33 33
34 define $(PKG)_UPDATE 34 define $(PKG)_UPDATE
35 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; 35 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
65 --prefix='$(HOST_PREFIX)' \ 65 --prefix='$(HOST_PREFIX)' \
66 $($(PKG)_CONFIGURE_OPENGL_OPTIONS) \ 66 $($(PKG)_CONFIGURE_OPENGL_OPTIONS) \
67 --enable-osmesa \ 67 --enable-osmesa \
68 --disable-gbm \ 68 --disable-gbm \
69 --disable-xvmc \ 69 --disable-xvmc \
70 --disable-llvm \
71 --enable-texture-float \ 70 --enable-texture-float \
72 && $(CONFIGURE_POST_HOOK) 71 && $(CONFIGURE_POST_HOOK)
73 72
74 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' 73 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
75 endef 74 endef