1. 10 Jul, 2019 1 commit
    • Eric Engestrom's avatar
      symbols-check: introduce new python script · 176f350f
      Eric Engestrom authored
      I've re-written this in bash a couple times over the years, and then
      I realised python is much more portable and already required by Mesa, so
      we might as well make use of it.
      
      I decided to still use the build system's NM instead of re-implementing
      symbols extraction, to offload the complexity of keeping it compatible
      with many systems (Linux, Unix, BSD, MacOS, etc.), especially when
      cross-building.
      
      This new script checks not only that nothing is exported when it
      shouldn't be, but also that everything that should be exported is.
      Sometimes, some symbols _can_ be exported but don't have to be, in which
      case they can be prefixed with `(optional)`.
      Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
      Reviewed-by Dylan Baker <dylan@pnwbakers.com>
      Reviewed-by: 's avatarEmil Velikov <emil.velikov@collabora.com>
      176f350f
  2. 29 Apr, 2019 1 commit
  3. 11 Apr, 2019 1 commit
  4. 09 Apr, 2019 1 commit
  5. 01 Apr, 2019 1 commit
  6. 22 Mar, 2019 1 commit
  7. 20 Mar, 2019 1 commit
  8. 13 Feb, 2019 1 commit
  9. 07 Feb, 2019 1 commit
  10. 18 Jan, 2019 1 commit
  11. 15 Jan, 2019 1 commit
  12. 14 Jan, 2019 2 commits
  13. 21 Dec, 2018 2 commits
  14. 15 Nov, 2018 10 commits
  15. 23 Aug, 2018 2 commits
  16. 16 Aug, 2018 4 commits
  17. 06 Aug, 2018 1 commit
    • Gert Wollny's avatar
      meson, install_megadrivers: Also remove stale symlinks · 7a46b2d6
      Gert Wollny authored
      os.path.exists doesn't return True for stale symlinks, but they are in
      the way later, when a link/file with the same name is to be created.
      For instance it is conceivable that the pointed to file is replaced by
      a file with a new name, and then the symlink is dead.
      
      To handle this check specifically for all existing symlinks to be
      removed. (This bugged me for some time with a link libXvMCr600.so
      always being in the way of installing this file)
      
      v2: use only os.lexist and replace all instances of os.exist (Dylan Baker)
      
      v3: handle directory check correctly (Eric Engestrom)
      
      Fixes: f7f1b30f
             ("meson: extend install_megadrivers script to handle symmlinking")
      
      Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>(v2 minus dir check)
      Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      7a46b2d6
  18. 23 May, 2018 2 commits
  19. 27 Apr, 2018 1 commit
  20. 23 Apr, 2018 2 commits
  21. 05 Apr, 2018 1 commit
  22. 04 Dec, 2017 1 commit
  23. 09 Nov, 2017 1 commit
    • Dylan Baker's avatar
      meson: Add script to use VERSION file for getting version · 3e9533d9
      Dylan Baker authored
      Meson has up until this point set it's version in the root meson.build
      script, while the other build systems read the VERSION file. This is
      just "one more thing" to duplicate between meson and every other build
      system. This script is a simple "read, strip, print" sort of deal to
      allow meson to read the VERSION file.
      
      I chose to implement this in python since python is portable, and to
      keep the meson.build script clean. This is also complicated by the fact
      that the project() call *must* be the first non-comment,non-blank in the
      toplevel meson.build script.
      
      v2: - Move from scripts/ to bin/
          - use python explicitly to run the scripts to support windows
      Signed-off-by: 's avatarDylan Baker <dylanx.c.baker@intel.com>
      Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
      3e9533d9