
    -Ph                    f    d dl mZ ddlmZ ddlmZ ddlmZ d dl	Z
d dlZd dlZd Zd Zd	 Zd
 ZdS )    )annotations   )coredata)MachineChoice)	OptionKeyNc                l    |                      ddddd           |                      ddd	d
           d S )Nz--all
store_trueallFz&Show data not used by current backend.)actiondestdefaulthelpbuilddir?.zThe build directory)nargsr   r   )add_argument)parsers    ]/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/mesonbuild/munstable_coredata.pyadd_argumentsr      sS    
5%E  G G G 
#sAVWWWWW    c                ^   |                                  D ]\  }}t          d|z   dz              t          d|j        z              t          dd                    |j                  z              |j        rt          d|j        z              |j        rt          d|j        z              d S )N  :z
      Id: z      Command:  z      Full version: z      Detected version: )itemsprintidjoinexelistfull_versionversion)	compilerslangcompilers      r   dump_compilersr&      s    #//++ A AhdTkC   lX[()))#((8+;"<"<<===  	B(8+@@AAA 	A,x/??@@@A Ar   c                j    |                                  D ]\  }}t          d|z   dz   |z              d S )Nr   : )r   r   )dnamevalues      r   
dump_guidsr,   #   sF    wwyy * *edTkD 5())))* *r   c                z   d}| j         %t          j                            | j         |          }t          j                            |          st          d           dS | j        }t          d           t          d           t          d           t          j        | j                   }|j	        
                    t          d                    }t          |j                                                  D ]\  }}|dv r|d	v r-|s|                    d
          rt          |dz   |z              <|dk    r9|s|                    d
          r!t          |dz              t!          |           {|dk    r?|s|                    d
          s|dk    r!t          |dz              t!          |           |dk    r>|s|                    d
          r%t          dd                    |          z              |dk    rt          d|z              |dk    rt          d|z              8|dk    r)|r%t          dd                    |          z              g|dk    r)|r%t          dd                    |          z              |dk    rUt"          D ]K}t          d                    |                                                     t)          ||                    L|dk    rd }t+          t"                    D ]i}t          ||                                                   }	|	r>t          d|                                 d            |	D ]\  }
}|D ]} ||
|           jzt          |dz              t          t-          j        t1          j        |          d!                     d S )"Nzmeson-privatez^Current directory is not a build dir. Please specify it or change the working directory to it.r   zSThis is a dump of the internal unstable cache of meson. This is for debugging only.zKDo NOT parse, this will change from version to version in incompatible ways backend>   builtinsbase_optionsuser_optionsbackend_optionscompiler_options>   	test_guid
regen_guidinstall_guidvsr(   target_guidsr   
lang_guidsxcodemeson_commandz/Meson command used in build file regeneration: r   pkgconf_envvarz0Last seen PKGCONFIG environment variable value: r"   zMeson version: cross_fileszCross File: config_fileszNative File: r#   zCached {} machine compilers:depsc                   t          d| d         d         z   dz              t          dt          |                                          z              t          dt          |                                          z              |                                r1t          dt          |                                          z              t          dt          |                                          z              d S )	Nr   r   r   r(   z      compile args: z      link args: z      sources: z      version: )r   reprget_compile_argsget_link_argsget_sourcesget_version)dep_keydeps     r   	print_depzrun.<locals>.print_dep[   s    dWQZ]*T1222,tC4H4H4J4J/K/KKLLL)D1B1B1D1D,E,EEFFF??$$ G+d3??3D3D.E.EEFFF'$s/@/@*A*AABBBBBr   zCached dependencies for z machiner   )r   ospathr   isdirr   r
   cdataloadoptstoreget_value_forr   sorted__dict__r   
startswithr,   r   formatget_lower_case_namer&   itertextwrapindentpprintpformat)optionsdatadirall_backendsr   r/   kvfor_machinerI   
items_listrG   r@   rH   s                r   runrb   (   s    G#',,w/997==!!  4 	5 	5 	5q;L	
_```	
WXXX	"IIIz'*++H--i	.B.BCCGx(..0011 3< 3<1ccc=== $w11$77 $a$hl###.   w11$77 a#g1, w11$77 7g;M;Ma#g1/!! Ww11$77 WG#((ST++UVVV"""DqHIIII)^^#a'((((- 4nsxx{{2333.   5o3444+, / /4;;33557 7 8 8 8q~..../ &[[C C C  $M22 4 4#AkN$8$8$:$:;;
 4`[5T5T5V5V```aaa)3 4 4#' 4 4C%Igs333344 !c'NNN(/&."3"3T::;;;;g3< 3<r   )
__future__r   r.   r   rM   mesonlibr   r[   r   os.pathrJ   rY   rW   r   r&   r,   rb    r   r   <module>rg      s    # " " " " "        # # # # # #         X X XA A A* * *
D< D< D< D< D<r   