[Mesa-dev] [PATCH v3 00/48] Meson for windows

Dylan Baker dylan at pnwbakers.com
Tue Aug 7 00:50:40 UTC 2018


Mostly this is the same thing as before, just rebased on master. A couple of the
patches from v2 have already landed. I've also fix the bad rebase of Erik's
patch to use the python module for finding python, and updated the appveyor
instance to work, and use msbuild instead of ninja.

Dylan Baker (48):
  meson: always define libglapi
  add a git ignore for subprojects
  meson: add a zlib subproject
  meson: add a expat subproject
  gallium: fix ddebug on windows
  glapi: export glapi_destroy_multithread when building shared-glapi on
    windows
  glsl: fix general_ir_test with mingw
  meson: fix dl detection on non cygwin windows
  meson: build getopt when using msvc
  meson: Add a platform for windows
  meson: don't build glx or dri by default on windows
  meson: don't allow glvnd on windows
  meson: add windows compiler checks and libraries
  meson: Make shader-cache a trillean instead of boolean
  meson: Add windows defines to glapi
  meson: Add necessary defines for mesa_gallium on windows
  meson: build gallium gdi winsys
  meson: build wgl state tracker
  meson: build libgl-gdi target
  meson: build graw-gdi target
  meson: fix gallium-osmesa to build for windows
  meson: Don't check for posix_memalign on windows
  meson: Add support for wrapping llvm
  util/xmlconfig: include strndup.h for windows
  meson: fix pipe-loader compilation for windows
  meson: don't look for rt on windows
  meson: Add support for using win_flex and win_bison on windows
  meson: make nm binary optional
  meson: for incluse of inttypes.h for glcpp with msvc
  meson: disable sse4.1 optimizations with msvc
  meson: add switches for SWR with MSVC
  meson: don't define GLX_USE_TLS for windows
  meson: Add idep_getopt for tests
  util/tests: Use define instead of VLA
  meson: Don't build glsl cache_test for windows
  glsl/tests: define ssize_t on windows
  meson: Set visibility and compat args for graw
  meson: don't build gallium trivial tests on windows
  meson: Fix gtest linkage on msvc
  meson: disable graw tests on mingw
  meson: don't build or run mesa-sha1 test on windows
  tests/vma: fix build with MSVC
  meson: maintain names of shared API libraries
  meson: Use python module to find python2 on windows
  meson: Add linker arguments for windows
  appveyor: Add support for meson as well as scons
  appveyor: use chocolatey (cinst) to install winflexbison
  use msbuild instead of ninja

 appveyor.yml                                  |  41 +-
 docs/meson.html                               |  66 +++
 meson.build                                   | 389 ++++++++++++------
 meson_options.txt                             |  12 +-
 src/compiler/glsl/glcpp/meson.build           |  16 +-
 src/compiler/glsl/meson.build                 |   6 +-
 src/compiler/glsl/tests/blob_test.c           |   4 +
 src/compiler/glsl/tests/general_ir_test.cpp   |  14 +-
 src/compiler/glsl/tests/meson.build           |  21 +-
 src/egl/meson.build                           |   2 +-
 src/gallium/auxiliary/meson.build             |   6 +
 src/gallium/auxiliary/pipe-loader/meson.build |   9 +-
 src/gallium/drivers/swr/meson.build           |   3 +-
 .../drivers/swr/rasterizer/jitter/meson.build |  13 +-
 src/gallium/meson.build                       |  14 +-
 src/gallium/state_trackers/osmesa/meson.build |  12 +-
 .../{osmesa => wgl}/meson.build               |  32 +-
 .../{graw-xlib => graw-gdi}/meson.build       |  21 +-
 src/gallium/targets/graw-null/meson.build     |   2 +
 src/gallium/targets/graw-xlib/meson.build     |   1 +
 .../{graw-xlib => libgl-gdi}/meson.build      |  30 +-
 src/gallium/targets/osmesa/meson.build        |  11 +-
 src/gallium/tests/meson.build                 |  11 +-
 .../{tests => winsys/sw/gdi}/meson.build      |  12 +-
 src/gbm/meson.build                           |   2 +-
 src/{gallium/tests => getopt}/meson.build     |  14 +-
 src/gtest/meson.build                         |   7 +
 src/mapi/es1api/meson.build                   |  14 +-
 src/mapi/es2api/meson.build                   |  14 +-
 src/mapi/glapi/glapi.h                        |   2 +-
 src/mapi/glapi/meson.build                    |  13 +-
 src/mapi/meson.build                          |   2 +
 src/mapi/shared-glapi/meson.build             |  11 +-
 src/mesa/meson.build                          |  12 +-
 src/meson.build                               |   5 +
 src/util/meson.build                          |  21 +-
 src/util/tests/hash_table/clear.c             |  13 +-
 src/util/tests/hash_table/delete_management.c |  13 +-
 src/util/tests/hash_table/insert_many.c       |  11 +-
 src/util/tests/hash_table/meson.build         |   1 +
 src/util/tests/hash_table/random_entry.c      |   7 +-
 src/util/tests/string_buffer/meson.build      |   1 +
 src/util/tests/vma/vma_random_test.cpp        |   8 +
 src/util/xmlconfig.c                          |   1 +
 subprojects/.gitignore                        |   3 +
 subprojects/expat.wrap                        |  10 +
 subprojects/zlib.wrap                         |  10 +
 47 files changed, 698 insertions(+), 245 deletions(-)
 copy src/gallium/state_trackers/{osmesa => wgl}/meson.build (64%)
 copy src/gallium/targets/{graw-xlib => graw-gdi}/meson.build (75%)
 copy src/gallium/targets/{graw-xlib => libgl-gdi}/meson.build (62%)
 copy src/gallium/{tests => winsys/sw/gdi}/meson.build (86%)
 copy src/{gallium/tests => getopt}/meson.build (84%)
 create mode 100644 subprojects/.gitignore
 create mode 100644 subprojects/expat.wrap
 create mode 100644 subprojects/zlib.wrap

-- 
2.18.0



More information about the mesa-dev mailing list