Home | History | Annotate | Download | only in scripts

Lines Matching refs:Option

63 class Option(object):
77 return Option(Option.Type.COMPILER, value)
81 return Option(Option.Type.COMPILER_FLAG, value)
85 return Option(Option.Type.CONFIGURE_FLAG, value)
89 return Option(Option.Type.MALLOC_CONF, value)
93 return Option(Option.Type.FEATURE, value)
96 return (isinstance(obj, Option) and obj.type == self.type
101 Option.Type.COMPILER: 'COMPILER',
102 Option.Type.COMPILER_FLAG: 'COMPILER_FLAG',
103 Option.Type.CONFIGURE_FLAG: 'CONFIGURE_FLAG',
104 Option.Type.MALLOC_CONF: 'MALLOC_CONF',
105 Option.Type.FEATURE: 'FEATURE'
107 return f"Option({type_names[self.type]}, {repr(self.value)})"
118 GCC = Option.as_compiler('CC=gcc CXX=g++')
119 CLANG = Option.as_compiler('CC=clang CXX=clang++')
120 CL = Option.as_compiler('CC=cl.exe CXX=cl.exe')
126 CROSS_COMPILE_32BIT = Option.as_feature('CROSS_COMPILE_32BIT')
130 configure_flag_unusuals = [Option.as_configure_flag(opt) for opt in (
139 LARGE_HUGEPAGE = Option.as_configure_flag("--with-lg-page=16 --with-lg-hugepage=29")
142 malloc_conf_unusuals = [Option.as_malloc_conf(opt) for opt in (
172 '-Wno-unknown-warning-option',
184 compilers = [x.value for x in combination if x.type == Option.Type.COMPILER]
186 compiler_flags = [x.value for x in combination if x.type == Option.Type.COMPILER_FLAG]
187 configure_flags = [x.value for x in combination if x.type == Option.Type.CONFIGURE_FLAG]
188 malloc_conf = [x.value for x in combination if x.type == Option.Type.MALLOC_CONF]
189 features = [x.value for x in combination if x.type == Option.Type.FEATURE]
268 linux_configure_flags.append(Option.as_configure_flag("--enable-prof --enable-prof-frameptr"))
281 exclude = ([Option.as_malloc_conf(opt) for opt in (
284 [Option.as_configure_flag('--enable-prof')] +
298 Option.as_configure_flag('--enable-debug'),
310 Option.as_configure_flag('--enable-debug'),
311 Option.as_configure_flag('--enable-prof --enable-prof-libunwind'),
312 Option.as_configure_flag('--with-lg-page=16 --with-malloc-conf=tcache:false'),