Skip to content
Snippets Groups Projects
  1. Oct 30, 2019
  2. Sep 17, 2019
    • Arkadiusz Hiler's avatar
      meson: Bump required version to 0.47.2 · 933b84d5
      Arkadiusz Hiler authored and Petri Latvala's avatar Petri Latvala committed
      
      Any distribution that decided to go with 0.47 should also pack the
      latest point release.
      
      For us 0.47.2 is important because it fixes the weird issues with using
      a 'feature' option as a dependency()'s 'required' parameter, e.g.:
      
        option('oping',
               type : 'feature',
               description : 'Build test runner with liboping for pinging support')
      
        liboping = dependency('liboping', required: get_option('oping'))
      
      With liboping not installed and oping option having the default "auto"
      value this should execute just fine and liboping.found() should ==
      false, but instead we get "ERROR: Native dependency 'liboping' not found".
      
      That behavior is fixed with 0.47.2.
      
      Cc: Petri Latvala <petri.latvala@intel.com>
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      Reviewed-by: default avatarPetri Latvala <petri.latvala@intel.com>
      933b84d5
  3. Sep 03, 2019
  4. Aug 30, 2019
  5. Aug 29, 2019
  6. Jul 05, 2019
  7. Jun 25, 2019
  8. May 23, 2019
    • Arkadiusz Hiler's avatar
      meson: Start using 'feature' options · 736b0998
      Arkadiusz Hiler authored
      
      Meson 0.47 comes with a new type of option called 'feature' so instead of:
             type : 'combo',
             value : 'auto',
             choices : ['auto', 'true', 'false'],
      We can:
             type : 'feature',
      
      The main difference is that the feature takes auto, enabled and disabled
      instead of auto, true and false.
      
      get_option() on a feature returns opaque object that can be passed as
      a 'required' argument of a dependency. Auto is equivalent to 'required
      : false', enabled is equivalent to 'required : true' and disabled
      introduces new behavior forcing the dependency to be considered not
      found.
      
      This allows us to streamline a lot of logic regarding optional IGT
      features.
      
      This patch bumps required meson version to 0.47.0
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Petri Latvala <petri.latvala@intel.com>
      Cc: Simon Ser <simon.ser@intel.com>
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      736b0998
  9. May 09, 2019
  10. May 07, 2019
  11. May 02, 2019
  12. Feb 20, 2019
  13. Jan 24, 2019
  14. Oct 24, 2018
  15. Oct 23, 2018
Loading