Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,699
    • Issues 2,699
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 910
    • Merge requests 910
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !6851

meson: subdir() into glsl and mesa only when building OpenGL drivers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Link Mauve requested to merge linkmauve/mesa:no-flex-no-bison into main Sep 24, 2020
  • Overview 7
  • Commits 1
  • Pipelines 19
  • Changes 5

I found out about these while building only one Vulkan driver, and flex or bison weren’t installed. These two programs are required to build the GLSL or ARB shader parsers, but neither are useful on Vulkan which uses SPIR-V.

This makes a meson build go from ~2.5s to ~2.25s on my computer, but this shouldn’t matter much. It also prevents libmesa_sse41.a from being needlessly built.

This patch is more easily read with git log -p -w to ignore indent changes.

Signed-off-by: Emmanuel Gil Peyrot linkmauve@linkmauve.fr

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: no-flex-no-bison